Rspkme
|
  |
| Joined: 06 Feb 2008 |
| Total Posts: 1013 |
|
|
| 06 Apr 2014 05:52 PM |
I need help, if someone were to click a brick then it would unlock the door, something like this (add the clicked thingy :P),
game.Workspace.Basement.Door.Locked.Value = false
(Locked is a local value inside of "door")
Please help :D |
|
|
| Report Abuse |
|
|
Rspkme
|
  |
| Joined: 06 Feb 2008 |
| Total Posts: 1013 |
|
| |
|
Rspkme
|
  |
| Joined: 06 Feb 2008 |
| Total Posts: 1013 |
|
|
| 06 Apr 2014 06:06 PM |
| 20 views and no one replied, i thought it was scripting help.. |
|
|
| Report Abuse |
|
|
transIate
|
  |
| Joined: 20 Jun 2013 |
| Total Posts: 2699 |
|
|
| 06 Apr 2014 06:29 PM |
script.Parent.Button1Down:connect(function() if(script.Parent.Door.CanCollide==true)then script.Parent.Door.CanCollide=false print'opened' else script.Parent.Button2Down:connect(function() script.Parent.Door.CanCollide=true; end)end); |
|
|
| Report Abuse |
|
|