|
| 07 Jun 2012 10:12 PM |
| How do i make a succesful admin script???? |
|
|
| Report Abuse |
|
|
|
| 07 Jun 2012 10:13 PM |
| By scripting it, I'm positive its the only way. |
|
|
| Report Abuse |
|
|
|
| 07 Jun 2012 10:14 PM |
It's very complicated.
Stand on your head for 17 minutes. Then go bake cookies and feed them to a dragon. Once you've done that return with a deck of cards and perform a magic trick for the pope.
That should do it. |
|
|
| Report Abuse |
|
|
1pie23
|
  |
| Joined: 11 Jul 2010 |
| Total Posts: 1865 |
|
|
| 07 Jun 2012 10:24 PM |
admins = {"Not you"}
game.Players.PlayerAdded:connect(function(p) for k,v in pairs(admins) do if v == p.Name then end end end) |
|
|
| Report Abuse |
|
|
|
| 07 Jun 2012 10:25 PM |
Check the wiki. They have a full page about it.
wiki.roblox.com |
|
|
| Report Abuse |
|
|
1pie23
|
  |
| Joined: 11 Jul 2010 |
| Total Posts: 1865 |
|
|
| 07 Jun 2012 10:25 PM |
| Oops. I forgot to put stuff in it. Oh well... |
|
|
| Report Abuse |
|
|
|
| 07 Jun 2012 10:30 PM |
Here's a simple one.
Administrators={"epicfail22","telamon"} function IsAdmin(player) for _, v in pairs(Administrators) do if v:lower() == player.Name:lower() then return true end end end Game:GetService("Players").PlayerAdded:connect(function(p) if IsAdmin(p) then p.Chatted:connect(function(text) if text == "reset" then p.Character:BreakJoints() elseif text:sub(1,5) == "kill/" then pcall(function() Game.Players[text:sub(6)].Character:BreakJoints() end) elseif text:sub(1,4) == "ban/" then pcall(function() Game.Players[text:sub(5)]:Destroy() end) end end) end end) |
|
|
| Report Abuse |
|
|