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

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

Asked by 8 years ago

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

Log in to vote
0
Answered by 8 years ago

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

0
K but I need it to be as a round Gamer0821 0 — 8y
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; Petrovolt 89 — 8y
0
Ok I'll send it soon Gamer0821 0 — 8y
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 Gamer0821 0 — 8y
0
doees you script put raandom spots to teleport over the map?? Gamer0821 0 — 8y
Ad
Log in to vote
0
Answered by 8 years ago

Thanks though ????????????????

Answer this question