Does anyone know how to make a teleporter than teleporter everybody in the game like the mimic?

I really need a script that teleports everybody in the game instead of 1i searched a lot of vids about this but they only teleport 1 player

3 Likes
local TS = game:GetService("TeleportService")
for i , v in pairs(game.Players:GetPlayers()) do
TS:Teleport(PlaceIDhere , v)
end
4 Likes

Don’t put it in quotes, please.

3 Likes

I will try it out when I get home but I will leave it as solution for now thank you

3 Likes

exactly the id isn’t gonna be a string

4 Likes

Don’t put the ID in quotes btw.

3 Likes

I tried it out and it only teleports one player and if we both jump at it at the same time one of us doesn’t go until later and we don’t get out in the same match

1 Like

Am I supposed to put the script in something? Or in work space

1 Like

can i see the entire script? :thinking:

1 Like

Sure ima get on rn hold up I copied and pasted what u gave me and replaced the id

2 Likes

1 Like

It only teleports the first person to hit it and then if I wait like 5 seconds and go in it teleporters me but in a different lobby

1 Like

Also my game is connected to the lobby wifh assets manager is that gonna be a problem

1 Like

U there? I’m not trying to rush you

1 Like

oh ok, is it being disabled by something?, can i see where the script its in th hierarchy?
also you can screenshot specific parts of the screen with windows key + shift + s

2 Likes

Try v.UserId and also do this:

local db = false

--TeleportCode bla bla bla
if not db then
    db = true
    TS:Teleport(Id,v.UserId)
    
    wait(0.5)
    db = false
end
3 Likes

What is hierarchy never heard of it

1 Like

Do I replace the script with that or put it under

1 Like

Anybody there ? Also this is what it looks like when I put ur script in

1 Like

Bruh u guys there ?? Is the script i put right

2 Likes