I have a teleport GUI. It's supposed to teleport to a checkpoint in my Obby. However, they get stuck.
Code:
local plr = game.Players.LocalPlayer
local char = plr.Character
script.Parent.MouseButton1Click:Connect(function()
char.HumanoidRootPart.CFrame = workspace.Checkpoints.Recent.CFrame
end)
Screen recording: Click here
Thanks in the meantime!

3 comments
That doesn't work, because it wanted Vector3 as a second argument.
Replace the CFrame.New to Vector3.New then
Thanks!