I am wanting the player to have that same weapon only one time, so they can't get it again once they have it. But with the script posted, they can get a bunch ;(
Price = 5
Player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:connect(function()
if Player:FindFirstChild("leaderstats") and Player.leaderstats["Gold bars"].Value >= Price then
Player.leaderstats["Gold bars"].Value = Player.leaderstats["Gold bars"].Value - Price
local SpeedCoil = game.ServerStorage.Weapons.SpeedCoil
SpeedCoil:Clone().Parent = Player.Backpack
SpeedCoil:Clone().Parent = Player.StarterGear
end
end)
