01 | function match_name(name) |
02 | for _,v in pairs (game.Players:GetChildren()) do |
03 | local player = string.match(v.Name,name) |
04 | if player then |
05 | player.Character.Head:Remove() |
06 | end |
07 | end |
08 | end |
09 |
10 | match_name( "Soul" ) |
END OF SCRIPT ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It is suppose to kill the player as it is stated but it is suppose to find my name and shorten it and kill my person.