Cframe not working

Today, I was trying to make handle Cframe = HumanoidRootPart.Cframe, but I want to change Y position

local Dummy = workspace.Dummy
local HumanoidRootPart = Dummy.HumanoidRootPart
local handle = Dummy.Handle
handle.Cframe =,HumanoidRootPart.Position.Y,37.644)

Instead of
handle.Cframe =,HumanoidRootPart.Position.Y,37.644)
you can do
handle.Cframe =,HumanoidRootPart.Position.Y + --[[insert the difference you want]],37.644)

You can also do
handle.Cframe =,HumanoidRootPart.Position.Y,37.644).Position +, 10, 0) -- adds 10 studs to the y position

1 Like