local DataStore = game:GetService("DataStoreService"):GetDataStore("DailyRewards")
local TimePeriod = 60
local ClicksReward = 10
function RewardEvent(plr)
game.ReplicatedStorage:WaitForChild("ChestEV"):FireClient(plr)
end
game.ReplicatedStorage:WaitForChild("TouchIn").OnServerEvent:Connect(function(plr)
local stats = plr:WaitForChild("leaderstats")
local cash = stats:WaitForChild("Clicks")
cash.Value=cash.Value+ClicksReward
end)
i want to make something respawn after 60 seconds but it does not respawn how do you fix that
