I have made my own games but I need to make MY OWN admin commands. Please tell me how and include examples
COMMUNITY QUESTION
How do I make my own admin commands and what sources do I need to use?
3 answers
It depends what admin commands your want...
Look at an Admin Script (I Recommend Person299 Admin Commands) and See how it Works then add your Own Commands.
This is basic admin.
function onChatted(msg, speaker)
local source = string.lower(speaker.Name)
msg = string.lower(msg)
if msg == "!respawn" then
speaker:LoadCharacter()
elseif msg == "!kill" then
speaker.Character:BreakJoints()
end
end
game.Players.PlayerAdded:Connect(function(player)
player.Chatted:Connect(function(msg) onChatted(msg, player) end)
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
say !respawn to respawn and !sparkles to have sparkles. You could add alot more by just adding another elseif and then the code.
No not sparkels just !kill to die.