local price = script.Parent.Parent.Price local tools = game.ReplicatedStorage:WaitForChild("Tools") local tool = script.Parent.Parent.ItemName local player = script.Parent.Parent.Parent.Parent.Parent.Parent script.Parent.MouseButton1Click:connect(function() if player.leaderstats:FindFirstChild("Levels").Value >= price.Value then player.leaderstats:FindFirstChild("Levels").Value = player.leaderstats:FindFirstChild("Levels").Value >= price.Value game.ReplicatedStorage.ShopBuy:FireServer(tool.Value) end end)
I'm trying to make the money stay as it is when you buy it, anyone have a clue how?