How is this not working? No errors in output or script analysis. No cash is being deducted from the player neither is the item being given. Please help!
price = 100
item = game.Lighting.SpeedCoil
script.Parent.ClickDetector.MouseClick:Connect(function(plr)
if plr.leaderstats.Coins.Value >= price then
plr.leaderstats.Coins.Value = plr.leaderstats.Coins.Value - price
item:Clone().Parent = plr.Character
end
end)

3 comments
Im not sure, but try putting the speed coil gear inside of ServerStorage, then, im pretty sure that you want to put the item inside of the players backpack not character, though im not sure because i havent worked much with gears, so maybe for a start try giving your player the item with the part of the script that gives the player the item (item:Clone)
Try debugging to see if the code reaches till line 5.
And could also be possible that you don't have enough coins (100) in your leaderstats. Maybe you have less than that.