So, recently, I made this game under me, but I realized It got so good, I should make a group out of it. I don’t want to put the game link in the description because;
It might just tag.
It look tacky.
So, I want to try to make a automatic teleport script, such as; As soon as you join a game, you get teleported to (gameid).
Can anybody help?
This was an idea I thought of:
game.PlayerAdded.TeleportService -- dont know the rest, or if this even right. :/
local TeleportService = game:GetService("TeleportService")
game.Players.PlayerAdded:Connect(function(player)
TeleportService:Teleport(00000000,player) -- like this?
end)
if your games isn’t teleported, maybe you can try this:
local TPS = game:GetService("TeleportService")
game.Player.PlayerAdded:Connect(function()
TPS:Teleport(0) -- without ,player is enough, because i try it... its working
end)