After using tonumber(number/string) it still string

how to fix that :sob:

This is not a Bug. Do not post to #bug-reports unless you are absolutely sure you aren’t doing anything wrong, try posting to #help-and-feedback:scripting-support first if you run into any Scripting-related issues.

As the error says, Id needs to be a string, not a number, so you shouldn’t be wrapping v:GetAttribute("ID") around a call to tonumber. If the ID attribute is a number and not a string, replace tonumber with tostring.

1 Like