lesnotrax.blogg.se

How to get admin commands
How to get admin commands









how to get admin commands how to get admin commands

Utilities:SendSystemErrorMessage(commandData, string.format("'s' is not a valid player.", parameter))ĪdminCommands:BindCommand(, explodeCommand, 1, "Makes the specified player explode.") Utilities:SendSystemSuccessMessage(commandData, string.format(. Sparkles.Parent = character:FindFirstChild("HumanoidRootPart") Local sparkles = Instance.new("Sparkles") Local character = Utilities:GetCharacter(parameter) Use a helper function to find the player's character and add the sparkles If (parameter = "me" or parameter = "") then parameter = end - If the parameter is me then the user must be refering to themselves Loop through the parameters (execute on every given player's name)įor index = 1, #commandData.Parameters do Return Utilities:NoPlayerSpecified(commandData) Error if no parameters are given/spoken Gives a specified player's character sparkles











How to get admin commands