Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

For loop is not working in the script in order to execute a code i want?

I am trying to make it to where when in a certain amount of seconds everyones character is removed.

for A = 1,10 game.Players.LocalPlayer.Character:Remove()

1 answer

✓ Accepted answer

First you need 'do' after a 'for'. You also need a end after for

'for I = 1,10 do game.Players.LocalPlayer.Character:Remove()

end'

This discussion is preserved as it was. New answers, comments, and votes are closed.