Probity
|
  |
| Joined: 19 Dec 2011 |
| Total Posts: 225 |
|
|
| 13 Jun 2012 12:16 AM |
Can anyone tell me whats wrong with this script?It doesn't work yet no error apears in the output.
Part = game.Workspace.Part
while true do wait(1) Part.Locked = false wait(1) Part.CanCollide = false wait(1) Part.Anchored = false wait(1) Part.Locked = true Part.CanCollide = true Part.Anchored = true end
|
|
|
| Report Abuse |
|
|
|
| 13 Jun 2012 12:18 AM |
| Er, the Brick will just keep falling until it removes. |
|
|
| Report Abuse |
|
|
swishy
|
  |
| Joined: 23 Mar 2008 |
| Total Posts: 752 |
|
|
| 13 Jun 2012 12:19 AM |
| What is this even trying to do? |
|
|
| Report Abuse |
|
|
| |
|
swishy
|
  |
| Joined: 23 Mar 2008 |
| Total Posts: 752 |
|
|
| 13 Jun 2012 12:22 AM |
I think he wants the brick to slowly fall somewhere?
But why the heck would he want to unlock it? Um?
Explain please...
HAHAHAHAHAHAH rofl |
|
|
| Report Abuse |
|
|
Probity
|
  |
| Joined: 19 Dec 2011 |
| Total Posts: 225 |
|
|
| 13 Jun 2012 12:29 AM |
| Its an assignment for LuaLearners group.I want the brick to become unlocked, walkthough, and unanchored.Then relock, solid, and anchored.And keep doing so. |
|
|
| Report Abuse |
|
|
swishy
|
  |
| Joined: 23 Mar 2008 |
| Total Posts: 752 |
|
|
| 13 Jun 2012 12:37 AM |
| yes that will do that..But unanchoring it will cause it to slowly fall to the ground until it is removed. |
|
|
| Report Abuse |
|
|
Probity
|
  |
| Joined: 19 Dec 2011 |
| Total Posts: 225 |
|
|
| 13 Jun 2012 12:38 AM |
| The problem is though it isn't working.Yet shows no error on the output. |
|
|
| Report Abuse |
|
|
rayoma
|
  |
| Joined: 13 Nov 2009 |
| Total Posts: 1911 |
|
|
| 13 Jun 2012 12:59 AM |
| Make sure the script isn't disabled and that your variable is set to an object that exist. |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 13 Jun 2012 01:29 AM |
| Maybe there are several "Part"s in Workspace. You should also rename it to "Brick1" or something, since every brick is in the classname Part. |
|
|
| Report Abuse |
|
|