Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

CFrame teleport script not working, Any Ideas To Solve It?

prints everything but does not teleport, ideas?

game.ServerStorage.Enough.OnServerEvent:Connect(function(X)
     print("Enough Players! Starting Round...")
     local char = Player.Character or Player.CharacterAdded:Wait()
print("A")
     local hrp = char:WaitForChild("HumanoidRootPart")
print("F")
     hrp.CFrame = CFrame.new(PositionXX, 8.1 , -922.8)
print("D")

end)
end)

3 comments

0

Are there any errors?

0

nope, just not teleporting

0

Put the whole script in

1 answer

Try to do this:

hrp.CFrame = hrp.CFrame * CFrame.new(PositionXX, 8.1 , -922.8)

1 comment

0

If this doesn't work that is because your script is not explained fully and I couldn't understand what is positionxx.

This discussion is preserved as it was. New answers, comments, and votes are closed.