script.Parent.Event:connect(function(P)local l=tick()if l-P.Stats.LastDailyHunterCoins.Value>=86400 then P.Stats.Coins.Value=P.Stats.Coins.Value+9000 P.Stats.LastDailyHunterCoins.Value=l game.ReplicatedStorage.Interactions.Client.DailyHunterCoinsResult:FireClient(P,true,tick())else game.ReplicatedStorage.Interactions.Client.DailyHunterCoinsResult:FireClient(P,false,tick())end end)
-- goro7

script.Parent.Event:connect(function(plr)
	-- Check if sufficient time has passed
	local currentTime = tick()
	if currentTime - plr.Stats.LastDailyHunterCoins.Value >= 86400 then
		-- Change stats
		plr.Stats.Coins.Value = plr.Stats.Coins.Value + 9000
		plr.Stats.LastDailyHunterCoins.Value = currentTime

		-- Send result
		game.ReplicatedStorage.Interactions.Client.DailyHunterCoinsResult:FireClient(plr, true, tick())
	else
		-- Send result
		game.ReplicatedStorage.Interactions.Client.DailyHunterCoinsResult:FireClient(plr, false, tick())
	end
end)
