|
| 16 Apr 2013 11:11 AM |
game.Players.PlayerAdded:connect(function(p) if game:GetService("GamePassService"):UserHasPass(p, 112996493) then repeat wait() until p:FindFirstChild("Backpack") repeat wait() until p:FindFirstChild("StarterGear") if not p.Backpack:FindFirstChild("Devastator") then game.Lighting.Devastator:clone().Parent = p.StarterGear game.Lighting.Devastator:clone().Parent = p.Backpack end end end)
Any clues? |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 16 Apr 2013 12:53 PM |
wait()
at the top of the script
Also, where is it parented?
-bigdaddy92, Professional Web Developer & Master Scripter |
|
|
| Report Abuse |
|
|
|
| 16 Apr 2013 12:58 PM |
Just saying ,for the future,
There is something called WaitForChild()
It might help a bit, because you won't need repeat.
Example-
WaitForChild("PlayerGui")
|MassiveGman| Scripter & part time Professional Whistler |
|
|
| Report Abuse |
|
|
|
| 16 Apr 2013 12:59 PM |
You could use it for something like-
game.Players.Player1:WaitForChild("PlayerGui")
|MassiveGman| Scripter & part time Professional Whistler |
|
|
| Report Abuse |
|
|
|
| 16 Apr 2013 01:05 PM |
Nevermind, fixed it already!
|
|
|
| Report Abuse |
|
|