My Local Script is not Accesing another Tools Module Script! Here is the Local Script, (Its in a Gui)
player = game.Players.LocalPlayer
if not player.leaderstats then wait() end
money = player.leaderstats.Captures
price = 0
tool = game.ReplicatedStorage:findFirstChild("Burst")
function buy()
if money.Value >= price then
money.Value = money.Value - price
local a = tool:clone()
a.Parent = player.Backpack
local b = tool:clone()
b.Parent = player.StarterGear
end
end
script.Parent.MouseButton1Down:connect(buy)
The Tool is located in Rep Storage! Can anyone Help?? It does work in Studio, but not in Player!

2 comments
You have not waited for the child Burst so this could be nil, I would use WaitForChild instead.
Actually he used wait() while leaderstats was nil, wich is enough time for Bust to load.