if string.sub(Command, 1, 5) == "kick/" then
local suspect = game.Players:FindFirstChild(string.sub(Command, 6))
if suspect ~= nil then
suspect:Kick("noob")
end
end
It won't work, help?
if string.sub(Command, 1, 5) == "kick/" then
local suspect = game.Players:FindFirstChild(string.sub(Command, 6))
if suspect ~= nil then
suspect:Kick("noob")
end
end
It won't work, help?
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Is this your whole script? if not, please show it all. You have no variables set