Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

My teleporter doesn't work for some reason?

Asked by 3 years ago

I have a teleporter and sometimes it doesnt teleport people for some reason when yesterday it did. It displays this error message: 11:16:09.797 - moveTo is not a valid member of Accessory

1 answer

Log in to vote
0
Answered by
KingDomas 153
3 years ago
Edited 3 years ago

:MoveTo() is a very buggy Roblox feature that I suggest avoiding altogether. A stable and commonly used alternative is changing the PrimaryPartCFrame. Like so:

local player = game.Players.LocalPlayer
player.Character:SetPrimaryPartCFrame(0, 100, 0) --set 0,100,0 to the location you want (if you want to teleport to a part get the part's position and copy and paste it in).
Ad

Answer this question