generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Moderator

Previous Thread :: Next Thread 
ShiroPixel is not online. ShiroPixel
Joined: 31 Jul 2010
Total Posts: 545
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
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
06 Jul 2012 03:42 PM
That's cool, XD thanks!
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
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
ShiroPixel is not online. ShiroPixel
Joined: 31 Jul 2010
Total Posts: 545
06 Jul 2012 03:58 PM
You don't say.
Report Abuse
SCARFACIAL is not online. SCARFACIAL
Joined: 28 Jan 2010
Total Posts: 7970
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
ShiroPixel is not online. ShiroPixel
Joined: 31 Jul 2010
Total Posts: 545
06 Jul 2012 04:11 PM
I'd prefer to remove them players.
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
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
MasterOfDeathOnes is not online. MasterOfDeathOnes
Joined: 21 Mar 2009
Total Posts: 6975
06 Jul 2012 04:23 PM
the new-made functions wont save?
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
06 Jul 2012 04:27 PM
You have to make a separate button for each as I believe.
Report Abuse
ShiroPixel is not online. ShiroPixel
Joined: 31 Jul 2010
Total Posts: 545
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 is not online. visva10
Joined: 12 Sep 2008
Total Posts: 3464
06 Jul 2012 05:04 PM
[ Content Deleted ]
Report Abuse
ShiroPixel is not online. ShiroPixel
Joined: 31 Jul 2010
Total Posts: 545
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
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
06 Jul 2012 11:49 PM
Because of the name? XD.
Report Abuse
commanderbly8284 is not online. commanderbly8284
Joined: 15 Feb 2009
Total Posts: 2603
06 Jul 2012 11:55 PM
Very lovely. I like it.
Report Abuse
ShiroPixel is not online. ShiroPixel
Joined: 31 Jul 2010
Total Posts: 545
07 Jul 2012 11:37 AM
Bump, this needs to be heard :)
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
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
operationSNIPER is not online. operationSNIPER
Joined: 04 Aug 2010
Total Posts: 816
07 Jul 2012 01:15 PM
...
Report Abuse
su8 is not online. 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
ShiroPixel is not online. ShiroPixel
Joined: 31 Jul 2010
Total Posts: 545
07 Jul 2012 02:07 PM
Why not just do player.Name?
Report Abuse
su8 is not online. 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
ShiroPixel is not online. ShiroPixel
Joined: 31 Jul 2010
Total Posts: 545
07 Jul 2012 02:24 PM
What do you mean? The name?
Report Abuse
su8 is not online. su8
Joined: 06 Mar 2009
Total Posts: 6334
07 Jul 2012 02:26 PM
No, the player as instance.
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
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
ShiroPixel is not online. ShiroPixel
Joined: 31 Jul 2010
Total Posts: 545
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
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image