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: Limited Access not working

Previous Thread :: Next Thread 
Kondou is not online. 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
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
29 Mar 2013 03:09 PM
at the end, try putting
check()
Report Abuse
Kondou is not online. Kondou
Joined: 05 Aug 2012
Total Posts: 1148
29 Mar 2013 03:13 PM
It did nothing.
Report Abuse
velibor is not online. 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 is not online. Kondou
Joined: 05 Aug 2012
Total Posts: 1148
29 Mar 2013 03:33 PM
Worked
Report Abuse
Zuesstormgod88 is not online. Zuesstormgod88
Joined: 19 Oct 2010
Total Posts: 7997
29 Mar 2013 03:42 PM
your that noob from shadow sniper team
Report Abuse
Kondou is not online. Kondou
Joined: 05 Aug 2012
Total Posts: 1148
29 Mar 2013 05:51 PM
You're that noob from Green Gods
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