local function y(y,u)u:SetPrimaryPartCFrame(CFrame.new(-28,217,9))connectInterestToCharacter(u)u.Humanoid.Died:Connect(function()wait(5)y:LoadCharacter()end)end local u={}
--[[
	When the character is added, teleport them to the spawn, and attach interest to the character.
]]
local function onCharacterAdded(player, character)
	character:SetPrimaryPartCFrame(CFrame.new(-28, 217, 9))

	connectInterestToCharacter(character)

	character.Humanoid.Died:Connect(function()
		wait(5)
		player:LoadCharacter()
	end)
end

local PlayerGame = {}
