Josh3756
|
  |
| Joined: 11 Nov 2012 |
| Total Posts: 1182 |
|
|
| 08 Nov 2015 04:06 PM |
local GamepassGearPath = game.Lighting.Pumpkin --local GamepassGearPath2 = game.ReplicatedStorage.GEARNAME
function respawned(char) wait() local player = game.Players:FindFirstChild(char.Name) if char:FindFirstChild("Head") ~= nil then if game:GetService("GamePassService"):PlayerHasPass(player,298970306) then GamepassGearPath:Clone().Parent = player.Backpack GamepassGearPath:Clone().Parent = player.StarterGear --GamepassGearPath2:Clone().Parent = player.Backpack --GamepassGearPath2:Clone().Parent = player.StarterGear end end end game.Workspace.ChildAdded:connect(respawned) |
|
|
| Report Abuse |
|
|
Bebee2
|
  |
| Joined: 17 May 2009 |
| Total Posts: 3985 |
|
|
| 08 Nov 2015 04:11 PM |
Why not just do this instead?:
local GamepassGearPath = game.Lighting.Pumpkin --local GamepassGearPath2 = game.ReplicatedStorage.GEARNAME game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(char) if game:GetService("GamePassService"):PlayerHasPass(player,298970306) then GamepassGearPath:Clone().Parent = player.Backpack GamepassGearPath:Clone().Parent = player.StarterGear --GamepassGearPath2:Clone().Parent = player.Backpack --GamepassGearPath2:Clone().Parent = player.StarterGear end end) end) |
|
|
| Report Abuse |
|
|
Josh3756
|
  |
| Joined: 11 Nov 2012 |
| Total Posts: 1182 |
|
|
| 08 Nov 2015 04:34 PM |
every time i die i get 2 more so if i die 5 times i have the item 5 times |
|
|
| Report Abuse |
|
|
Josh3756
|
  |
| Joined: 11 Nov 2012 |
| Total Posts: 1182 |
|
| |
|
|
| 08 Nov 2015 04:43 PM |
try not putting it in starter gear, cause it seems when you die, you get it twice because it's put into both your backpack, and startergear, so you'll have it twice eternally, don't question, just try putting it only in the player's backpack
dr. fork |
|
|
| Report Abuse |
|
|
Josh3756
|
  |
| Joined: 11 Nov 2012 |
| Total Posts: 1182 |
|
|
| 08 Nov 2015 04:44 PM |
thats not the problem when i join the game i have 1 gear when i die once i have 2 gear when i die again i have 3 gear idk |
|
|
| Report Abuse |
|
|
|
| 08 Nov 2015 04:46 PM |
try doing what bebee said, also this is seriously overly complicated, why would you make them get the gear when they die when you can just put it in their startergear
dr. fork |
|
|
| Report Abuse |
|
|
Josh3756
|
  |
| Joined: 11 Nov 2012 |
| Total Posts: 1182 |
|
|
| 08 Nov 2015 04:47 PM |
i am trying what he said but its not working how would i make it put it into their starterpack with his script |
|
|
| Report Abuse |
|
|