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

How do you make rounds FYI script that teleports you to multiple locations to start each game?

Rounds Teleports to different locations Gui

Here's my script yo

while true do wait(15) local m = math.random(1,1) local player = game.Players:GetPlayers() for i = 1, #player do msg = Instance.new("Message") msg.Parent = nil if m == 1 then msg.Parent = game.Workspace -- gets players

wait(5) player[i].Character:MoveTo(Vector3.new(-71, 21.3, 20)) -- change this to location of map! msg:remove() wait(30) -- change this to total game time

end wait(5) player[i].Character:MoveTo(Vector3.new(-23.112, 101.5, 38.096)) -- change this to the area bwetween maps! msg:remove()

end end -- remember if you want more maps just copy and paste these and add more end functions to the end of all the scripts ( also delete current ends while adding more maps! )

2 answers

c; You could each have "Teleport nodes" in a model and have a simple script like

for i, v in pairs (ModelLocationHereomgomg:GetChildren()) do
	CharacterLocationhere.Position = math.random(v).Position
 end

Get all the possible teleport points, teleport a character to one of them yes yes

5 comments

0

K but I need it to be as a round

0

Well, do you have your code that we can fix? This is not a request site, though and will not make it for you ;o;

0

Ok I'll send it soon

0

while true do wait(15) local m = math.random(1,1) local player = game.Players:GetPlayers() for i = 1, #player do msg = Instance.new("Message") msg.Parent = nil if m == 1 then msg.Parent = game.Workspace -- gets players wait(5) player[i].Character:MoveTo(Vector3.new(-71, 21.3, 20)) -- change this to location of map! msg:remove() wait(30) -- change this to total game time end wait(5) player[i].Cha

0

doees you script put raandom spots to teleport over the map??

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