#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)

ebon flume
#

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

umbral jolt
#

but its not?

#

dont use meshpart

#

use BasePart

#

or best collision group

ebon flume
#

i tried base part too but nothing new happend

umbral jolt
#

worked best for me

wispy treeBOT
#

studio** You are now Level 1! **studio

ebon flume
#

strange is that other properties like transparency get's changed locally

#

Roblox studio is just being stubborn with it

warm sleet
#

anything in the output window?

ebon flume
#

nothing, even tho i placed a warn to test

#

it's like it thinks it's doing something but it's not

warm sleet
#

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?

wispy treeBOT
#

studio** You are now Level 40! **studio

ebon flume
#

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

warm sleet
#

thing is though, a rigs leftupperleg has cancollide=false by default, maybe you have some other script messing with it

ebon flume
#

how can i identify it?

warm sleet
#

ctrl+shift+f for cancollide

ebon flume
#

i fixed it by doing this: