My current modulescript is here:
function gamelib.smoothTransform(object, xIncrement, yIncrement, zIncrement, smoothingScale, delayS, xActive, yActive, zActive)
local newX = xIncrement / smoothingScale
local newY = xIncrement / smoothingScale
local newZ = xIncrement / smoothingScale
end
The script which calls this is here:
GL:smoothTransform(workspace.Part, 10, 10, 10, 0.2, 0.3, true, true, true)
But, the error is here: ServerScriptService.GameLib:22: attempt to perform arithmetic on local 'xIncrement' (a userdata value)
I am curious as to why this is occuring. I don't think it is a userdata value with my understanding of what a userdata value is. Please, if you can, correct me and tell me where I'm wrong, but don't directly feed me the code.
Thanks!

1 comment
Thank you for the answer! This fixed it all.