Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

IS this correct?

Asked by 10 years ago
01function match_name(name)
02for _,v in pairs(game.Players:GetChildren())do
03local player = string.match(v.Name,name)
04if player then
05player.Character.Head:Remove()
06end
07end
08end
09 
10match_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.

0
You really should put this in a code block and tab it correctly. Also what's the problem? (Please be more specific than something like 'it's not working') Perci1 4988 — 10y

Answer this question