Adam2090
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 889 |
|
|
| 15 Dec 2013 08:04 PM |
Why doesn't this script work? No output errors. I have the gamepass.
local passId = 138689160
script.Parent.MouseButton1Down:connect(function() if script.Parent.Parent.Parent.Parent.Parent:PlayerHasPass(passId) then game.Lighting.KKB:clone().Parent = script.Parent.Parent.Parent.Parent.Parent.Backpack end end)
Strength, Honor, Glory. Hail Puternic Imperium! |
|
|
| Report Abuse |
|
|
Quorum
|
  |
| Joined: 25 Oct 2013 |
| Total Posts: 4680 |
|
|
| 15 Dec 2013 08:09 PM |
local passId = 138689160 local Player = script.Parent.Parent.Parent.Parent.Parent
script.Parent.MouseButton1Down:connect(function() if game:GetService("GamePassService"):PlayerHasPass(Player, passId) then game.Lighting.KKB:clone().Parent = Player.Backpack end end)
Try that. |
|
|
| Report Abuse |
|
|
Adam2090
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 889 |
|
|
| 15 Dec 2013 08:10 PM |
Oh, I forgot to get gamepassservice
Strength, Honor, Glory. Hail Puternic Imperium! |
|
|
| Report Abuse |
|
|
Adam2090
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 889 |
|
|
| 15 Dec 2013 08:14 PM |
It didn't give me the tool when I clicked the button.
Strength, Honor, Glory. Hail Puternic Imperium! |
|
|
| Report Abuse |
|
|