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

How Do I Make Players Teleport To Different Plots Once The Round Starts?

Asked by 3 years ago

I am trying to make a round based game , but when the intermission is up and the players teleport, I want them to each teleport to their own plots. How would I do this?

Heres an intermission script


local s = script.Stat local vals = game.ReplicatedStorage.vals t = 0 while true do t = 15 repeat t = t-1 s.Value = "Intermission.. "..t wait(1) until t == 0 s.Value = "Game starting!" end

1 answer

Log in to vote
0
Answered by
Xyternal 247 Moderation Voter
3 years ago

You can try doing something like the following. But there is one thing to the script, and that is that I don't really know how to check if someone already has a plot. But good luck with your script, and peace out ?

local plot = math.Random(1,5)

local Players = game:GetService("Players")
for i, player in pairs(Players:GetPlayers()) do
    player:MoveTo(x,y,z)
end
Ad

Answer this question