Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I make my own admin commands and what sources do I need to use?

I have made my own games but I need to make MY OWN admin commands. Please tell me how and include examples

3 answers

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)

2 comments

0

say !respawn to respawn and !sparkles to have sparkles. You could add alot more by just adding another elseif and then the code.

0

No not sparkels just !kill to die.

This discussion is preserved as it was. New answers, comments, and votes are closed.