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 » Scripters
Home Search
 

Re: Auto assign admin, not sure what is wrong with this.

Previous Thread :: Next Thread 
firelordofengland is not online. firelordofengland
Joined: 22 Dec 2008
Total Posts: 145
05 Apr 2015 05:34 PM
I'm not sure what is wrong with the following. Can anyone show me how to get this working?
I have tried to modify Person299's admin command script to automatically give admin to group members above a certain rank when they join the game.



local group = 39977
local rank = 11

adminlist = {"Opplo","UCAF"}

bannedlist = { }

local Plyrs = game:GetService("Players")

function onPlayerAdded(player)
if player:IsInGroup(group)==true and player:GetRankInGroup(group)>=rank then
table.insert(adminlist, 1, player.Name)
end

Plyrs.PlayerAdded:connect(onPlayerAdded)
end
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
05 Apr 2015 05:37 PM
Pay attention to where you place your ends.
Report Abuse
firelordofengland is not online. firelordofengland
Joined: 22 Dec 2008
Total Posts: 145
05 Apr 2015 05:52 PM
I have removed the end from the last line and it still does not work.
Report Abuse
Enthymema is not online. Enthymema
Joined: 05 Nov 2010
Total Posts: 331
10 Apr 2015 11:03 AM
Don't remove the end, its just not located properly.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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