I've made a module script so i can create holograms of players with ease using parameters such as the player's character, the position the hologram should be, which highlight to clone and use, what animation to play on loop and the transparency of the player's cloned model. i'm using a local script to require the module script because i only want the player to see himself on the hologram and other players to see themselves, but for some reason even tho i am setting all of the model's parts can collide property false it still doesn't turn false
#Can someone tell why even tho the code is right the script can't set the property to false???
1 messages · Page 1 of 1 (latest)
so shortly, issue is its supposed to be CanCollide false
but its not?
dont use meshpart
use BasePart
or best collision group
i tried base part too but nothing new happend
worked best for me
** You are now Level 1! **
i tried this too
strange is that other properties like transparency get's changed locally
Roblox studio is just being stubborn with it
anything in the output window?
nothing, even tho i placed a warn to test
it's like it thinks it's doing something but it's not
print everything that passes through it
the pcall is unnecessary because v:isa("meshpart") guarantees it, and .cancollide=false wont ever error on its own
showing more code around that function would be useful, i can't see any issues in what is shown. is this snippet part of the localscript?
** You are now Level 40! **
this is the full part of the module script that handles the transparency and collisions
it can print the parts to change the can collide but it can't change the can collide
thing is though, a rigs leftupperleg has cancollide=false by default, maybe you have some other script messing with it
how can i identify it?
ctrl+shift+f for cancollide