Vacuo
|
  |
| Joined: 06 Dec 2009 |
| Total Posts: 4859 |
|
|
| 09 Jun 2014 09:42 PM |
what's the script to make a gamepass work
i've been asking the scripting forum but they haven't helped me |
|
|
| Report Abuse |
|
|
Vacuo
|
  |
| Joined: 06 Dec 2009 |
| Total Posts: 4859 |
|
| |
|
Digitov
|
  |
| Joined: 26 Mar 2013 |
| Total Posts: 10867 |
|
| |
|
Vacuo
|
  |
| Joined: 06 Dec 2009 |
| Total Posts: 4859 |
|
| |
|
DrJonJ
|
  |
| Joined: 18 Nov 2009 |
| Total Posts: 2361 |
|
|
| 09 Jun 2014 09:45 PM |
And the award for the most generic scripting question goes to...
What exactly does the game pass do would help. |
|
|
| Report Abuse |
|
|
|
| 09 Jun 2014 09:46 PM |
| depends on what you going for Vip or getting gear |
|
|
| Report Abuse |
|
|
Vacuo
|
  |
| Joined: 06 Dec 2009 |
| Total Posts: 4859 |
|
| |
|
Digitov
|
  |
| Joined: 26 Mar 2013 |
| Total Posts: 10867 |
|
|
| 09 Jun 2014 09:47 PM |
ok u mak me sad
local id = 000000000 --ur game pass
game.Players.PlayerAdded:connect(function(plr) if Game:GetService("GamePassService"):PlayerHasPass(plr, id) then --code end end) |
|
|
| Report Abuse |
|
|
|
| 09 Jun 2014 09:47 PM |
| go to tool box and go to game stuff its i think the admin script or something like that |
|
|
| Report Abuse |
|
|
DrJonJ
|
  |
| Joined: 18 Nov 2009 |
| Total Posts: 2361 |
|
|
| 09 Jun 2014 09:49 PM |
gamePassID = 123456 ToolName = 'Sword'
game.Players.PlayerAdded:connect(function(p) p:WaitForChild('StarterGear') if game:GetService('MarketplaceService'):PlayerOwnsAsset(p, gamePassID) then game.ReplicatedStorage[ToolName]:clone().Parent = p.StarterGear end end)
Change the top two values |
|
|
| Report Abuse |
|
|
Vacuo
|
  |
| Joined: 06 Dec 2009 |
| Total Posts: 4859 |
|
|
| 09 Jun 2014 09:50 PM |
digitov
where do you put what
(other than the id of the game pass) |
|
|
| Report Abuse |
|
|
| |
|
Digitov
|
  |
| Joined: 26 Mar 2013 |
| Total Posts: 10867 |
|
|
| 09 Jun 2014 09:52 PM |
workspace ok just add ur code, or use the other dud's one |
|
|
| Report Abuse |
|
|
Vacuo
|
  |
| Joined: 06 Dec 2009 |
| Total Posts: 4859 |
|
|
| 09 Jun 2014 09:53 PM |
| i want to make it so you get a model in your inventory |
|
|
| Report Abuse |
|
|
Vacuo
|
  |
| Joined: 06 Dec 2009 |
| Total Posts: 4859 |
|
| |
|
Vacuo
|
  |
| Joined: 06 Dec 2009 |
| Total Posts: 4859 |
|
| |
|
|
| 09 Jun 2014 10:11 PM |
Try the scripting helpers forum section. Ive heard that there very good when it comes to scripts!
Join PlanetSwords fan club today! |
|
|
| Report Abuse |
|
|
Vacuo
|
  |
| Joined: 06 Dec 2009 |
| Total Posts: 4859 |
|
|
| 09 Jun 2014 10:12 PM |
| they are but they take 4 hours just to make a post that leaves people with questions |
|
|
| Report Abuse |
|
|
Digitov
|
  |
| Joined: 26 Mar 2013 |
| Total Posts: 10867 |
|
|
| 09 Jun 2014 10:14 PM |
so, wheres that "model"? lighting, starterpack? |
|
|
| Report Abuse |
|
|
Vacuo
|
  |
| Joined: 06 Dec 2009 |
| Total Posts: 4859 |
|
| |
|