game.ServerStorage.ServerEvents.GuyKilled.Event:Connect(function(target, player)
if r == 0 then
r = 1
player.leaderstats.Time.Value = target.leaderstats.Time.Value + player.leaderstats.Time.Value
player.leaderstats.Kills.Value = player.leaderstats.Kills.Value + 1
player.leaderstats.Streak.Value = player.leaderstats.Streak.Value + 1
target.leaderstats.Time.Value = 0
task.wait(5)
target.leaderstats.Time.Value = 0
task.wait(0.01)
r = 0
end
end) ```
can someone help this script runs the first time but the second time it just doesnt work
#time script
5 messages · Page 1 of 1 (latest)