local waitingSpawn = game.Workspace.waitingRoom.waitingSpawn local lobbySpawn = game.Workspace.Lobby.lobbySpawn local textbutton = script.Parent.TextButton
i want it that when the player presses presses the textbutton
you get teleported to lobbySpawn
and it becomes your new spawn. Pls help me on this ;w;
Thanks!
Changing the position of the player goes like this:
local humanoidRootPart = ect local lobbySpawn = game.Workspace.Lobby.lobbySpawn humanoidRootPart.Position = lobbySpawn.Position