How can I use the TweenService on a table value?

Well, I’m wanting to use the TweenService on a float value of a table, but I just don’t know how to apply it. In NumberValue what is done is: TweenService:Create(item, Tween.info(1), {Value = 10})Play()

But I don’t know how to apply it in a table:

local cr7 = {
	val = 10;
}

TweenService:Create(cr7.val, {TweenInfo.new(1)}, {¿?})
1 Like

You cannot do that. Instead, you can have a NumberValue, tween that, and then listen for changes to the NumberValue and update the table value to be the new value.

2 Likes