of     1   

YoBoiDevDerpy
#154991404Saturday, January 31, 2015 5:09 AM GMT

I've tried this but it didn't work. Please don't judge me, I'm new to scripting. stats = script.Parent.Parent.Parent.Parent.Parent:findFirstChild("leaderstats") gold = stats:findFirstChild("Gold") bp = script.Parent.Parent.Parent.Parent.Backpack sg = script.Parent.Parent.Parent.Parent.StarterGear tool = game.Lighting.BowAndArrow function onClicked(GUI) if gold.Value < 100 or gold.Value == 100 then gold.Value = gold.Value - 100 tool:clone().Parent = bp tool:clone().Parent = sg end end script.Parent.MouseButtn1Click:connect(onClicked)
YoBoiDevDerpy
#154991765Saturday, January 31, 2015 5:14 AM GMT

b
rens321
#154991807Saturday, January 31, 2015 5:15 AM GMT

Just from glancing, I can see script.Parent.MouseButtn1Click:connect(onClicked) should be script.Parent.MouseButton1Click:connect(onClicked)
YoBoiDevDerpy
#154991833Saturday, January 31, 2015 5:15 AM GMT

oh... XD
YoBoiDevDerpy
#154991887Saturday, January 31, 2015 5:16 AM GMT

still not working...?
rens321
#154991965Saturday, January 31, 2015 5:17 AM GMT

Please provide the output if you can
YoBoiDevDerpy
#154992022Saturday, January 31, 2015 5:18 AM GMT

No output
rens321
#154992202Saturday, January 31, 2015 5:21 AM GMT

Test>Make sure "server" is checked>click Start Run your script> look for output on server window
YoBoiDevDerpy
#154992597Saturday, January 31, 2015 5:27 AM GMT

I checked output. I din't get anything...
CreamyBadness
#155003556Saturday, January 31, 2015 11:36 AM GMT

stats = script.Parent.Parent.Parent.Parent.Parent:findFirstChild("leaderstats") gold = stats:findFirstChild("Gold") bp = script.Parent.Parent.Parent.Parent.Backpack sg = script.Parent.Parent.Parent.Parent.StarterGear tool = game.Lighting.BowAndArrow function onClicked(GUI) if gold.Value >= 100 then gold.Value = gold.Value - 100 tool:clone().Parent = bp tool:clone().Parent = sg end end script.Parent.MouseButton1Click:connect(onClicked)

    of     1