Attributes confusing me

Trying to set an attribute and use the value for multiplication but when I do, I get the following message.

 18:12:31.963  Workspace.taylornoni.Spawner.Part.TouchScript:6: attempt to perform arithmetic (mul) on Instance  -  Server - TouchScript:6 

I’ve tried tonumber(), I’ve tried adding .value at the end I can’t find any documentation about this on the wiki either it just seems I’m hard stuck here.

Show code

1 Like

We’ll need the full script or at least the line of code relevant to the error in order to provide any assistance.