My Shop GUI is loading a Paintball Gun, but it loads the Name, but not my Gun and its script, What do i do? I need help! here is the Main Script of the Shop Button that loads the guN! This is a Local Script
script.Parent.Text=tostring(script.Parent.ItemName.Value)..": "..tonumber(script.Parent.Cost.Value).." "..tostring(script.Parent.Currency.Value)
script.Parent.MouseButton1Click:connect(function()
if script.Parent.Parent.Parent.Parent.Parent.Parent:findFirstChild("leaderstats") then
if script.Parent.Parent.Parent.Parent.Parent.Parent.leaderstats[script.Parent.Currency.Value].Value>=tonumber(script.Parent.Cost.Value) then
script.Parent.Parent.Parent.Parent.Parent.Parent.leaderstats[script.Parent.Currency.Value].Value=script.Parent.Parent.Parent.Parent.Parent.Parent.leaderstats[script.Parent.Currency.Value].Value-tonumber(script.Parent.Cost.Value)
game.Lighting[script.Parent.ItemName.Value]:Clone().Parent=script.Parent.Parent.Parent.Parent.Parent.Parent.Backpack
game.Lighting[script.Parent.ItemName.Value]:Clone().Parent=script.Parent.Parent.Parent.Parent.Parent.Parent.StarterGear
end
end
end)
