--For Example
local player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:Connect(function(click) if player.leaderstats.Coins.Value >= 25 then player.leaderstats.Coins.Value = player.leaderstats.Coins.Value - 25
game.ReplicatedStorage.Tools.GravityCoil:Clone().Parent = player:WaitForChild("Backpack")
end
end)

2 comments
Consider rewriting this question so it's more specific and correctly formatted.
@crywink hope I fixed it...