I've tried this
1 | Owner = "funzrey" |
2 | function On_Type() |
3 | while do true |
4 | If Owner.Chats( ":KillAll" ) |
5 | local Plrs = game.Players.GetPlayers() |
6 | Plrs.Torso:Destroy() |
7 | end |
8 | end |
9 | On_Type() |
it's not while do true
it should be while true do
you need a function first