|
| 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 |
|
|
|
| 05 Apr 2015 05:37 PM |
| Pay attention to where you place your ends. |
|
|
| Report Abuse |
|
|
|
| 05 Apr 2015 05:52 PM |
| I have removed the end from the last line and it still does not work. |
|
|
| Report Abuse |
|
|
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 |
|
|