Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why can't I COLLIDE accessories' handle parts?

Asked by 6 years ago
Edited 6 years ago

Hi, I'm trying to COLLIDE the Handle part of Accessories, but it doesn't let me

elseif object.ClassName == "Accessory" then
    while not object.Handle.CanCollide do
        object.Handle.CanCollide = true
        wait()
    end
else
--...

Am I doing something wrong? I wrote most of this code way long ago so it's possible.

EDIT: Fixed

0
you are not even anchoring it GoldAngelInDisguise 297 — 6y
0
@GoldAngelInDisguise i'm not trying to dominoplayer6 -15 — 6y
0
You know your question title and description are asking for something different that what you are right? You're asking to anchor it two separate times, but you're saying you want it CanCollidable? M39a9am3R 3210 — 6y
0
if you meant cancollide instead of anchor, change the question title GoldAngelInDisguise 297 — 6y
0
oops dominoplayer6 -15 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago
Edited 6 years ago

Every part has an option called "Anchored" in the properties, so if you replace "CanCollide" with "Anchored" it should work

elseif object.ClassName == "Accessory" then
    while not object.Handle.Anchored do ----- in this you can leave it CanCollide but it depends on what you are trying to do
        object.Handle.Anchored = true
        wait()
    end
else
--...
0
I'm not trying to Anchor it, I'm trying to make it collideable.. dominoplayer6 -15 — 6y
0
"I'm not trying to anchor it, I'm trying to make it collideable." Why is your title what it is now? Rare_tendo 3000 — 6y
Ad

Answer this question