local other = script.Parent.Parent.TextButton
local CurrentOther= script.Parent.Parent.TextButton.Value.Value -- this is an int Value
script.Parent.MouseButton1Click:Connect(function()
wait(23)
other.Text = other.Text - 2344
if CurrentOther.Value < 0 then
CurrentOther.Value = 0
other.Text = 0
end
end)
and this is the error 10:38:59.149 - Players.helleric.PlayerGui.ssa.asd.LocalScript:5: attempt to -index upvalue 'CurrentOther' (a number value)

1 comment
ok. but i try that it did not work