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
local TS = game:GetService("TeleportService")
for i , v in pairs(game.Players:GetPlayers()) do
TS:Teleport(PlaceIDhere , v)
end
Don’t put it in quotes, please.
I will try it out when I get home but I will leave it as solution for now thank you
exactly the id isn’t gonna be a string
Don’t put the ID in quotes btw.
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
Am I supposed to put the script in something? Or in work space
can i see the entire script?
Sure ima get on rn hold up I copied and pasted what u gave me and replaced the id
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
Also my game is connected to the lobby wifh assets manager is that gonna be a problem
U there? I’m not trying to rush you
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
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
What is hierarchy never heard of it
Do I replace the script with that or put it under
Bruh u guys there ?? Is the script i put right