What I'm saying that is there way to set a players spawn point were the are standing by clicking a gui button? If there is, please tell me and give me a example script please. Thanks!
You can't directly set a player's spawn location. By default, the player will spawn at a randomly chosen SpawnLocation as long as it matches his TeamColor.
If you want to move the character as soon as he spawns, you can connect to the CharacterAdded event and teleport the player to a position.
function onPlayerAdded(player) player.CharacterAdded:connect(function(character) wait() character:WaitForChild("Torso") character:MoveTo(Vector3.new(0, 1000, 0)) print("Teleported to position") end) end game.Players.PlayerAdded:connect(onPlayerAdded) for _,player in pairs(game.Players:GetPlayers()) do onPlayerAdded(player) end
My best advice is to make a spawn point with transparency infinitely.
Go to properities and change it to 1 or higher for more transparency.