|
| 28 Jun 2012 07:47 PM |
| How do you make it when you step on something, it falls beneath you? Like a trap door? |
|
|
| Report Abuse |
|
|
WhiteRain
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 2723 |
|
| |
|
|
| 28 Jun 2012 07:52 PM |
Personally, I'd have a hinge on the trapdoor Then when it is touched by a humanoid, I'd unanchor the brick.
-:massive |
|
|
| Report Abuse |
|
|
|
| 28 Jun 2012 09:03 PM |
@Massive The reason I am asking is because I have a piece of wood over a hole and when people walk across it, they fall in. |
|
|
| Report Abuse |
|
|
doneyes
|
  |
| Joined: 21 Mar 2008 |
| Total Posts: 3466 |
|
|
| 28 Jun 2012 09:13 PM |
function onTouched(hit) door.CanCollide = false wait(2) door.CanCollide = true end script.Parent.Touched:connect(onTouched)
I am pretty sure that will work. Just change door. |
|
|
| Report Abuse |
|
|
|
| 28 Jun 2012 09:13 PM |
| It's not even a door, just a piece of wood. |
|
|
| Report Abuse |
|
|
dddylan98
|
  |
| Joined: 16 Jul 2008 |
| Total Posts: 1497 |
|
|
| 28 Jun 2012 09:14 PM |
| Make the CanCollide false in the properties. (Uncheck the box) |
|
|
| Report Abuse |
|
|
|
| 28 Jun 2012 09:27 PM |
| So then can fall through it. |
|
|
| Report Abuse |
|
|
TwoBoo
|
  |
| Joined: 08 Feb 2011 |
| Total Posts: 10790 |
|
|
| 28 Jun 2012 09:31 PM |
script.Parent.Touched:connect(function(plr) if plr.Parent:findFirstChild("Humanoid") then script.Parent.CanCollide = false wait(3) script.Parent.CanCollide = true end end)
Put that in the wood. |
|
|
| Report Abuse |
|
|
| |
|
dddylan98
|
  |
| Joined: 16 Jul 2008 |
| Total Posts: 1497 |
|
|
| 28 Jun 2012 09:37 PM |
| if you just change the property its like a mirage. Its not even there but it is O_O |
|
|
| Report Abuse |
|
|
|
| 28 Jun 2012 09:38 PM |
| That's kind of what I want, so it'll be a trick. |
|
|
| Report Abuse |
|
|
dddylan98
|
  |
| Joined: 16 Jul 2008 |
| Total Posts: 1497 |
|
|
| 28 Jun 2012 09:38 PM |
Just change the CanCollide property. FLOOOOOOOOOOD c: |
|
|
| Report Abuse |
|
|
TwoBoo
|
  |
| Joined: 08 Feb 2011 |
| Total Posts: 10790 |
|
|
| 28 Jun 2012 09:39 PM |
| Do you also want it to disappear then reappear? |
|
|
| Report Abuse |
|
|
| |
|
|
| 28 Jun 2012 09:47 PM |
function onTouched(hit) if player.Humanoid then CanCollide = false transparency = 1 wait.(3) end end end |
|
|
| Report Abuse |
|
|
WhiteRain
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 2723 |
|
|
| 28 Jun 2012 09:47 PM |
^No Get that free modeled chunk out of here please. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
doneyes
|
  |
| Joined: 21 Mar 2008 |
| Total Posts: 3466 |
|
|
| 28 Jun 2012 10:34 PM |
| I dont care what it is. Change door to whatever the hell you want! How would I know what your stuff is called? |
|
|
| Report Abuse |
|
|
|
| 29 Jun 2012 09:23 AM |
| Okay, no need to get an attitude with me. |
|
|
| Report Abuse |
|
|