Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

thing:IsA("BasePart") doesn't fire when the thing is a cylinder?

so i noticed that when thing:IsA("BasePart") doesn't fire when it is a cylinder although i want it to fire i tried to do thing:IsA("Cylinder") but i didn't find anything and thing:IsA("Part") doesn't fire as well what would fire if it was a cylinder?

1 answer

✓ Accepted answer

Cylinder objects doesn't have a ClassName that is "Cylinder". It's "Part"

You could try thing.Shape == "Cylinder"

3 comments

0

You should use an if statement for this to work though.

0

wait i just realized that my for statement is like i:getdesendance and the i is the thing not firing it so nvm here is some rep tho :)

0

TEE HEE, thanks for the accept btw

This discussion is preserved as it was. New answers, comments, and votes are closed.