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

How would I make a teleport script with a wait time? [closed]

Asked by 5 years ago

By that I mean, how would I make a teleporting script that teleports everyone in the game after a certain amount of time, so, say, I made a game with a map, but I didn't want people to get sent into the map after a round has already started.

I have no idea where to even start on this. My scripting skills are pretty basic.

I can't even make a normal teleport script. Can someone help me learn how to make a script that teleports everyone at a certain time?

0
This is not a script writing service, we will not write your script for you. AlphaGamer150 101 — 5y
0
Also if you want to know how to do something, refer to the wiki (robloxdev.com) or figure it out yourself. AlphaGamer150 101 — 5y
0
I'm not asking for you to write me a script. I want to learn how to write it myself. If I wanted someone to write it for me I would've already payed someone to do that for me. Riftery 0 — 5y
0
If you want to learn how to do something, refer to the roblox wiki (robloxdev.com) AlphaGamer150 101 — 5y
0
This is NOT a request site. Please don't ask something like this. ChasingNachos 133 — 5y

Closed as Not Constructive by User#19524

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 5 years ago
while true do
    for i, v in pairs(players:GetPlayers()) do 
        if v.Character then 
            v.Character:MoveTo(part.Position)
        end
    end
end
Ad