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

How come my Murder Game Script is not tping players to baseplate when done?

I have tried game.Players.Examplenoob.Character:MoveT... workspace.Base)

3 answers

game.Players.PLAYEREXAMPLE.Character:MoveTo(game.Workspace.Base.Position)

Well first of all, you want to get ALL of the players, by that you would do :GetAllChildren()

local teleport = game.Workspace:FindFirstChild("Base")
game.Players:GetAllChildren().Character:MoveTo(teleport.Position,teleport)

--Please note that this is from zack785's answer, I have just added the :GetAllChildren()
local teleport = game.Workspace:FindFirstChild("Base")
game.Players.Examplenoob.Character:MoveTo(teleport.Position,teleport)

--When teleporting to parts you need to do (part.Position,part), I don't really know the use since it's already a position but that's how it works.

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