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

How to make only one teleport? NOT ANSWERED

Asked by 10 years ago

I need it so only one RANDOM person with no admin or VIP is moved (teleported)

while true do
wait()
for i,v in pairs(game.Players:GetChildren()) do
    v.Character:MoveTo(Vector3.new(-359.5, 291, 88.5))
end
wait(30)
end
0
Which player? BlueTaslem 18071 — 10y

2 answers

Log in to vote
1
Answered by 10 years ago
--Put this in a LocalScript (It should be inside StarterGUI)
p=game.Players.LocalPlayer
while true do
wait()

   p.Character:MoveTo(Vector3.new(-359.5, 291, 88.5))

wait(30)
end

That does it for every player, per 30 seconds depending on when they joined (Once they join the 30 seconds start)

If you want just one player, you need to be more specific. A random player? Or is it some sort of admin, or something. Tell us more.

Ad
Log in to vote
-1
Answered by
Muoshuu 580 Moderation Voter
10 years ago
local PlayerToTeleport=game.Players.Player1
while true do
    PlayerToTeleport.Character:MoveTo(Vector3.new(-359.5,291,88.5))
    wait(30)
end
0
will this teleport other people other than one called Player1? Opptitronica 0 — 10y

Answer this question