I am wandering how i can make this script repeat:
for i=1, 10 do wait(5) local players = game.Players:GetChildren() print(#players) if #players >= 1 then local murder = players[math.random(1,#players)] local Knife = game.Lighting.Knife:Clone() Knife.Parent = murder.Backpack wait(10) end end
It keeps doing the wait(10) one, not going back to wait(5) then ten and again. Please help i am new at all this and am trying to make a game.
The best way to do this is by using
while true do -- your script here