|
| 25 Feb 2017 02:31 AM |
| Does anyone know how to make a script so that if someone owns a game pass a button in a script is visible? |
|
|
| Report Abuse |
|
|
|
| 25 Feb 2017 02:45 AM |
plr = game.Players.LocalPlayer
id = 0000000 gp = game:GetService("GamePassService")
if gp:PlayerHasPass(plr,id) then
script.Parent.Visible = true
end
|
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 25 Feb 2017 02:51 AM |
| Okay because that didn't work. :( |
|
|
| Report Abuse |
|
|
| |
|
|
| 25 Feb 2017 02:52 AM |
Did you edit the 0000 for the id of the pass you use? And did you put the script inside the gui?
|
|
|
| Report Abuse |
|
|
| |
|
|
| 25 Feb 2017 02:56 AM |
| GUI > Main > Selection Frame > Button > LocalScript |
|
|
| Report Abuse |
|
|