With the new raycast function
https://developer.roblox.com/en-us/api-reference/function/WorldRoot/Raycast
I have to create a collision group for blacklisting, the scenario that I am in is that when a player uses a tool the tool raycast downward to get information on what there standing on (color), the problem is that I cannot create multiple collision groups with the same name
I looked on the wiki and there no GetCollisionGroupByName() function which is pretty annoying, so my best solution I can think of is creating a module script that contains all collision groups ever made that way I can just do
Module[GroupName] – to get the collision group
Is this the only valid way of solving this problem? (other than looping through all existing collisiongroups) or am I missing something here