kill = (function(sender, arguments,message, recipient) if sender.AdminRankID.Value >= 1 then if arguments[2] then local target = findplayer(arguments[1]) local char = target.Character char.Humanoid.Health = 0 end end end);
It seems like your checking for arguments[2], when arguments[1] is the player. So. If you do /kill [user]. [User] seems to be arguments[1] and arguments[2] will be nil, stopping the script. Try changing if arguments[2] to if arguments[1]