This means the Value doesn’t exist.
Dude, just put the name of your value you want to change instead of “Value”, you haven’t even assigned the value in the script. You need to replace it according to your needs. Please don’t blindly copy any tutorial or our code, just replace the things you want.
Let’s say the name of the value is “Cash” and it’s inside a folder “Values”
local Value = Values.Cash
--Continue with this code
Value.Changed:Connect(function(value)
if MPS:UserOwnsGamePassAsync(player.UserId, 144417242) then
Mainitems.CashButton.ScreenPart.SurfaceGui.TextLabel.Text = value * 2
else
Mainitems.CashButton.ScreenPart.SurfaceGui.TextLabel.Text = value
end
end)