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

How would I create a script that teleports players to a map when a timer runs out?

I'm trying to create a intermission that would teleport players to a map and then destroy the map when another timer runs out.

1 answer

✓ Accepted answer
for i,v in pairs(game.Players:GetChildren())do
	v.Character:MoveTo(intermission.Part.Position);
end
wait(intermissionTime)
for i,v in pairs(game.Players:GetChildren())do
	v.Character:MoveTo(map.Part.Position);
end
wait(gameTime)
map:Destroy();

2 comments

0

blowup999 highlight using " " the parts where i need to change.

0

Also how does it and do i place it in Script or local script

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