--[[wait(.05)
	stat = p:WaitForChild("leaderstats")
	pris = stat:WaitForChild("Prison Time")
	pris.Changed:connect(function()
		if (pris.Value > 0) then
			p.TeamColor = BrickColor.new(Prison)
			wait(1)
			pris.Value = pris.Value - 1
		elseif (pris.Value == 0) then
			for i,v in pairs(p.Character:GetChildren()) do
				if v:IsA("BasePart") then
					v.Anchored = true
				end
			end
			p.Character.Humanoid.WalkSpeed = 0
			p.TeamColor = BrickColor.new(Visitor)
			p:LoadCharacter()
			pris.Value = -1
		end
end)--]]


while wait(1) do
	p = game.Players.LocalPlayer
	stat = p:WaitForChild("leaderstats")
	pris = stat:WaitForChild("Prison Time")
	if (pris.Value > 0) then
		p.TeamColor = BrickColor.new(Prison)
		pris.Value = pris.Value - 1
	end
end
