I’m guessing it isn’t possible to multiply this?
Scrubber.Position * UDim2.new(1, 0, 1, 1) + UDim2.new(0, Mouse.X, 0, 0)
And add? (I might be wrong though)
Basically, this means it can’t do the math:
attempt to perform arithmetic (mul) on userdata
You can probably fix this by separating the values?
local Position = Vector3.new(1, 1, 1)
local Udim2 = UDim2.new(1, 0, 1, 0)
print(Position * Udim2)
Which won’t work. Think of having 4 and 3 values. If you multipled 3 values with randomly another 4 values- oh wait you can’t because thats not really possible. You’ll have to assign which values you want to multiply with which instead.
Also:
local Position = Vector3.new(1, 1, 1)
print(Position * Position)
Datatypes have special functionalities that have to be built into them. Vector3’s multiplication is a built in method. A computer can’t just assume what you want it to do, it has to be told exactly what to do.