|
| 06 Jul 2012 03:40 PM |
Coolest and newest admin script! No more commands, it's all in the GUI!
http://www.roblox.com/Moderator-v1-1-item?id=85836798
Easily modifiable, if you understand this:
_G.MOD:AddAdminFunction("Kill", function(player) player.Humanoid.Health = 0; end);
Then you're good! |
|
|
| Report Abuse |
|
|
| |
|
|
| 06 Jul 2012 03:47 PM |
_G.MOD:AddAdminFunction("Kick", function(player) local name = player.Name;
game.Players[name]:Remove(); end);
Just sayin' if the player is you then you'll just be kickin' yourself. |
|
|
| Report Abuse |
|
|
| |
|
|
| 06 Jul 2012 04:02 PM |
_G.MOD:AddAdminFunction("Kick", function(player) local name = player.Name;
game.Players[name]:Remove(); end);
Why not: _G.MOD:AddAdminFunction("Kick", function(player) player:Remove(); end);
|
|
|
| Report Abuse |
|
|
|
| 06 Jul 2012 04:11 PM |
| I'd prefer to remove them players. |
|
|
| Report Abuse |
|
|
|
| 06 Jul 2012 04:19 PM |
| Not that hard to make, but pretty cool, never thought of using _G in a script, nor making commands like that. Interesting-A+. The ROBLOX newbies(scripters) can learn a thing or two from you. |
|
|
| Report Abuse |
|
|
|
| 06 Jul 2012 04:23 PM |
| the new-made functions wont save? |
|
|
| Report Abuse |
|
|
|
| 06 Jul 2012 04:27 PM |
| You have to make a separate button for each as I believe. |
|
|
| Report Abuse |
|
|
|
| 06 Jul 2012 04:56 PM |
| No, all functions are dynamic. Make sure it's in the Moderators script in StarterGui/Moderator |
|
|
| Report Abuse |
|
|
visva10
|
  |
| Joined: 12 Sep 2008 |
| Total Posts: 3464 |
|
| |
|
|
| 06 Jul 2012 11:25 PM |
New link, the other one became deleted.
http://www.roblox.com/Moderator-v1-1-item?id=85836798 |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 07 Jul 2012 11:37 AM |
| Bump, this needs to be heard :) |
|
|
| Report Abuse |
|
|
|
| 07 Jul 2012 12:01 PM |
| There are quit a few people who can make it themselves... I can, I just code a different way. It is cool though. |
|
|
| Report Abuse |
|
|
| |
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
|
| 07 Jul 2012 01:18 PM |
| You should make it call the second argument with the player as argument not the character. |
|
|
| Report Abuse |
|
|
|
| 07 Jul 2012 02:07 PM |
| Why not just do player.Name? |
|
|
| Report Abuse |
|
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
|
| 07 Jul 2012 02:09 PM |
Because it's much better to return the player.
|
|
|
| Report Abuse |
|
|
|
| 07 Jul 2012 02:24 PM |
| What do you mean? The name? |
|
|
| Report Abuse |
|
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
|
| 07 Jul 2012 02:26 PM |
| No, the player as instance. |
|
|
| Report Abuse |
|
|
|
| 07 Jul 2012 04:14 PM |
| Shiro, fair enough I would trust su8 on this one, no offense, but in my opinion he's a much better scripter than you. So, you can learn from him as some learn from you. |
|
|
| Report Abuse |
|
|
|
| 07 Jul 2012 04:25 PM |
@Soul This isn't mean to show off my 'skill' and this isn't even my best. Literally made this in like an hour as a substitution for Person299's admin script.
su8, I'm still not understanding what you want done. Should the argument be a function with the argument for that function being a player instance, then you return the instance and it'll affect the player? |
|
|
| Report Abuse |
|
|
|
| 07 Jul 2012 04:56 PM |
| Shiro, I never said that, don't be stupid and say something like that, you hurt my feelings, D:. |
|
|
| Report Abuse |
|
|