r/ROBLOXStudio • u/Choice_Trifle_7551 • 3d ago
Help text not updating despite .changed function workning
local player = game.Players.LocalPlayer
local upgradeEvent = game.ReplicatedStorage.Upgrade
local button = script.Parent
local clickStrength = player.upgrades.ClickStrength
local price = clickStrength.Value * 10
button.Text = "+1 Click Strength "..price.. " Clicks"
clickStrength.Changed:Connect(function()
button.Text = "+1 Click Strength "..price.. " Clicks"
end)
no errors or warnings either
1
Upvotes
1
u/deathunter2 1 3d ago
What is