RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"Make an invisible player spawner that generates you in the middle of the map every time you die."
-- server script local spawnLocation = Vector3.new(0, 5, 0) -- Change this to the desired spawn location in the middle of the map game.Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) character:WaitForChild("HumanoidRootPart").CFrame = CFrame.new(spawnLocation) end) end) game.Players.PlayerRemoving:Connect(function(player) player.CharacterRemoving:Connect(function(character) character:WaitForChild("HumanoidRootPart").CFrame = CFrame.new(spawnLocation) end) end)