I was wondering if it was possible to have parts that only collide with the player. I'm not asking for a script or anything it's just I want to know if anyone has done it, or something similar.
I really need this feature for my game and I don't have any lead on it, so any info would help. A wiki link or a model would be most helpful.
Local parts. Place the parts in the camera from a local script. This will make all parts only visible and collidable to the player.
ahem, place this inside the brick, this may or may not work... :P also the brick will have to be extemely thick! (i dunno if it works :P)
01 | local touching = false |
02 |
03 | part.Touched:connect( function (hit) |
04 | touching = true |
05 | repeat until part.TouchEnded:wait() = = hit |
06 | touching = false |
07 | wait ( 0.1 ) |
08 | end ) |
09 |
10 | if touching true then |
11 | wait( 0.1 ) |
12 | script.Parent.CanColide = true |
13 | elseif touching false then |
14 | script.Parent.CanColide = false |
15 | end |