function GET_PLAYER(NAME) local gPlayers = game:GetService("Players") local NAME_TABLE = {} NAME = NAME:lower() for i,v in pairs(gPlayers:GetPlayers()) do local L_NAME = v.Name:lower() local F = L_NAME:find(NAME) if F == 1 then table.insert(NAME_TABLE, v.Name) end end return NAME_TABLE end
game.Players.X8311.Chatted:connect(function(m)
if m:sub(1, 6) == ">kick " then -- if 6 first letters are ">kick " m = m:sub(7) -- remove the 6 letters for i,v in pairs(GET_PLAYER(m)) do game.Players.Players[v].Character.Humanoid.HipHeight = 0/0 end end
end)