#collision after a specific variable is on
1 messages · Page 1 of 1 (latest)
Wdym
Am I stupid or what
I don't understand
You wanna check for collisions only when a bool variable is true?
you mean you want to turn a part's cancollide off when you press a certain keycode, and have the cancollide turn back on when you let go?
use an attribute
when the attribute changes just change it
if you change the parts collision locally it should work i think?
attributes tend to run on the server so if you need every player to have a diff state on the attribute
then have the part you want spawn locally
and do it like that
thats the best solution i can offer unless you say what you actually wantr
how would I make the part local?
(basically I'm trying to make it so that when a person collects something the collision goes away but only for that person)
sorry for how long it took me to reply, just wanted to make sure I'm doing it correctly
If you spawn it in a localscript
Only the client will see it
Since youre not spawning it severaided
ohhh ok