function findData(E)local e=nil for Z,B in pairs(_G.Jail)do if B.UserId==E then e=B end end return e end spawn(function()while wait(10)do for E,e in pairs(game.Players:GetPlayers())do if not findData(e.UserId)then repeat local E=storage.LoadData(e.UserId)wait(.5)if not E then end until E==true else end end end end)spawn(function()while wait(30)do for E,e in pairs(game.Players:GetPlayers())do storage.SaveData(e.UserId,false)end end end)
----------------------
function findData(UserId)
	local tab = nil
	for i, v in pairs(_G.Jail) do
		if v.UserId == UserId then
			tab = v
		end
	end
	return tab
end
spawn(function()
	while wait(10) do
		for _, plr in pairs(game.Players:GetPlayers()) do
			if not findData(plr.UserId) then
				repeat
					local userData = storage.LoadData(plr.UserId)
					wait(0.5)
					if not userData then
					end
				until userData == true
			else
			end
		end
	end
end)
spawn(function()
	while wait(30) do
		for _, plr in pairs(game.Players:GetPlayers()) do
			storage.SaveData(plr.UserId, false)
		end
	end
end)
