|
| 06 Mar 2013 12:28 PM |
...script stuff here if GamePassService:PlayerHasPass(player, GamePassIdObject.Value) then ...script here else if if GamePassService:---PlayerHasPass---(player, GamePassIdObject.Value) then ...script part here end
(look for dashes)
Would I say ":PlayerDoesntHavePass"?
What would I change that to to make it say if they DO NOT have the pass, it executes the script?
Or would I change the else if statement to something else? |
|
|
| Report Abuse |
|
|
|
| 06 Mar 2013 01:04 PM |
(Using simple code, this will error if you copy it exactly.)
if HASPASS then --Nothing else -- Things end |
|
|
| Report Abuse |
|
|
Xnite515
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 22763 |
|
| |
|
|
| 06 Mar 2013 01:37 PM |
so it would be
function onNewPlayer(p) p.CharacterAdded:connect(function() if GamePassService:PlayerHasPass(player, GamePassIdObject.Value) then ...stuff here
else
...stuff here
then end
correct? |
|
|
| Report Abuse |
|
|