Hello,
So I got CFrame teleporting and it doesn't work Online. The code is made in "Script". Works in Studio, but not in Online
local Player = game.Players.LocalPlayer Player.Character.Torso.CFrame = CFrame.new(Vector3.new(-142.6, 49.5, 46))
I wouldn't use CFrame if I were you. I'd use MoveTo:
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(char) char:MoveTo(Vector3.new(-142.6, 49.5, 46)) end end)
The script loads before the character/torso exist, so you need to wait for them to load.
local Player=game.Players.LocalPlayer local Character=Player.Character or Player.CharacterAdded:wait() Character:WaitForChild("Torso").CFrame=CFrame.new(-142.6,49.5,46)