I tried making a gui weapon shop but it didn't. can you guys please help me check the script:
player = script.Parent.Parent.Parent.Parent.Parent money = player.leaderstats.KOs price = 3 tool = game.Lighting:findFirstChild("Knife")
function buy() if money.Value >= price then money.Value = money.Value - price local a = tool:clone() a.Parent = player.Backpack end end script.Parent.MouseButton1Down:connect(buy)
i also tried taking free models and editing them, and watching tutorials but they DIDN'T work.....

4 comments
code block please!
ok now a code block..
Is it in a local script?
no just normal