No errors, no prints, it just doesn't seem to run, LocalScript inside of a TextButton
local sdv = script.Parent.StarterDropperValue
local sdl = script.Parent.Parent.StarterDropperLabel
local mv = script.Parent.Parent.Parent.MoneyFrame.MoneyValue
local ml = script.Parent.Parent.Parent.MoneyFrame.MoneyLabel
local price = 10
script.Parent.MouseButton1Click:Connect(function()
if mv.Value >= price then
mv.Value = mv.Value - price
ml.Text = "$" .. mv.Value
sdv.Value = sdv.Value + 1
price = price * 1.1
script.Parent.Text = "Buy: $" .. price
sdl.Text = sdl.Text + 1
else
script.Parent.Text = "Error"
wait(0.5)
script.Parent.Text = "Buy: $" .. price
end
end)

6 comments
Is the script enabled? Try printing before the click and after the click
the script is enabled, and we tried printing before the if statement, and nothing happened, printing before the function, interestingly enough also doesn't print anything
is the script and the text button archivable?
You cant change intvalues from local scripts as they are server side, use remote events to do this.
yes, both are archivable
and as I said earlier in chat, i had a different local script using mousebutton1click that works flawlessly and does correctly edit the intvalues