1 | if msg:lower():sub( 1 , 8 ) = = "removesp" then |
2 | for i,v in pairs (game.StarterPack:GetChildren()) do |
3 | v:Destroy() |
4 | end |
5 | end |
I have a Kohl's Admin v2 and then I added this into the script. The Goal is to remove the every Child in the StarterPack but I doesn't work.
Looking at all of Kohl's commands, I recommend just simply doing this:
1 | if msg:lower():sub( 1 , 9 ) = = "removesp " then |
2 | for i,v in pairs (game.StarterPack:GetChildren()) do |
3 | v:Destroy() |
4 | end |
5 | end |
If that doesn't work, you can ask around or something of the sort.