How do i identify if a parts name is a number

Like This One And Not The Handle:
image

if tonumber(part.name) then
end

3 Likes

Check if the part’s name is not “Handle”, I assume everything but handle is numbers.

1 Like

well instead of doing something like this

local part = path.part

you would use

local part = path["partname"]

and with numbers

local part = path[1]

path is the rest of the path before to the object

4 Likes