local V=game:GetService("\080\108\097\121\101\114\115")local s=game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")local j=game:GetService("\083\101\114\118\101\114\083\116\111\114\097\103\101")local l=0 local b=tick()local v=25 local Z=script.Parent Z.PayRent.OnServerEvent:Connect(function(V)if tick()-l>60 then V.leaderstats.Money.Value+=v l=tick()end end)Z.RaiseRent.OnServerEvent:Connect(function(V)if tick()-b>60 then v+=5 l=tick()end end)

local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local ServerStorage = game:GetService("ServerStorage")

local LAST_PAY = 0
local LAST_RAISE = tick()
local HAS_TO_PAY = 25

local Root = script.Parent

Root.PayRent.OnServerEvent:Connect(function(p)
	if tick() - LAST_PAY > 60 then
		p.leaderstats.Money.Value += HAS_TO_PAY
		LAST_PAY = tick()
	end
end)

Root.RaiseRent.OnServerEvent:Connect(function(p)
	if tick() - LAST_RAISE > 60 then
		HAS_TO_PAY += 5
		LAST_PAY = tick()
	end
end)
