Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 10 years ago

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

3 answers

Log in to vote
0
Answered by 10 years ago

It depends what admin commands your want...

Ad
Log in to vote
0
Answered by 10 years ago

Look at an Admin Script (I Recommend Person299 Admin Commands) and See how it Works then add your Own Commands.

Log in to vote
0
Answered by 5 years ago

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)
0
say !respawn to respawn and !sparkles to have sparkles. You could add alot more by just adding another elseif and then the code. DogHouseForMe 0 — 5y
0
No not sparkels just !kill to die. DogHouseForMe 0 — 5y

Answer this question