--[[
	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 = {}
