-- DISGUSTING. NEVER DO THIS.

function nearPlayer()
	local p = game.Players:GetPlayers()

	for i=1,#p do

		if (p[i].Character) then
			local t = p[i].Character:FindFirstChild("Torso")
			if t then
				if (Board.Position - t.Position).magnitude < 20 then
					return true
				end
			end
		end
	
	end
	return false

end

function sepuku()	-- +1
	if not nearPlayer() then
		if Board.Parent and Board.Parent.Name=="Snowboard" then
			Board.Parent:remove()
		else
			Board:remove()
		end
	end
end

while true do
	wait(30)
	sepuku()
end

