Thanks for your coming. What I am trying to do is teleporting the players using CFrame. I did success with teleporting other object such as a cube, a Santa and a banana. But the problem is that when I tried to teleport my self to a tower, Roblox studio prints:
“Workspace.Script:4: attempt to index nil with ‘Character’”
Here is my code:
target - CFrame.new(0,150,0) player = game.Players.LocalPlayer wait(5) player.Character.HumanoidRootPart.CFrame = target
I have also tried to expand target and player and they still gets error. Could anyone fix this? I have been stuck on this for three days. Thanks!