Kondou
|
  |
| Joined: 05 Aug 2012 |
| Total Posts: 1148 |
|
|
| 29 Mar 2013 03:08 PM |
This in a localscript and meant to show a Gui to those who are of the correct rank or higher
local player = game.Players.LocalPlayer
function check() if player:GetRankInGroup(630139) >= 190 then script.Parent.TextButton.Visible = true else print("Nope") end end
Nothing comes up in output, errors nor print. And it does not work in online mode either. Basically it does nothing. Help? |
|
|
| Report Abuse |
|
|
|
| 29 Mar 2013 03:09 PM |
at the end, try putting check() |
|
|
| Report Abuse |
|
|
Kondou
|
  |
| Joined: 05 Aug 2012 |
| Total Posts: 1148 |
|
| |
|
velibor
|
  |
| Joined: 24 Nov 2009 |
| Total Posts: 1003 |
|
|
| 29 Mar 2013 03:15 PM |
function Check(Player) if Player:IsInGroup(GroupID) then if Player:GetRankInGroup(GroupID) > 190 then -- Code here end end end
Check(Game.Players.Velibor)
That will work correctly.
|
|
|
| Report Abuse |
|
|
Kondou
|
  |
| Joined: 05 Aug 2012 |
| Total Posts: 1148 |
|
| |
|
|
| 29 Mar 2013 03:42 PM |
| your that noob from shadow sniper team |
|
|
| Report Abuse |
|
|
Kondou
|
  |
| Joined: 05 Aug 2012 |
| Total Posts: 1148 |
|
|
| 29 Mar 2013 05:51 PM |
| You're that noob from Green Gods |
|
|
| Report Abuse |
|
|