heres my code:
Part = script.Parent
clickdetector = script.Parent.ClickDetector
_G.Multiplier = 1
clickdetector.MouseClick:Connect(function(Player)
local Leaderstats = Player.leaderstats
local magic = Leaderstats.Magic
local Money = Leaderstats.Money
if Money.Value == 10 then
_G.Multiplier = _G.Multiplier + 1
Money.Value = Money.Value - 10
end
end)```
** You are now Level 5! **