|
| 04 Jun 2013 03:34 PM |
b=game.Workspace.Brick
if b.Reflectance==0 then b.Anchored=false wait(3) b.Anchored=true --we're changing the boolvalue to true so it will stop falling after 3 seconds. else b.BrickColor = BrickColor.new("Bright red") end
It's good and all but if the reflectance isn't "0", than isn't the brick supposed to turn Bright red? It doesn't do that, it just stays the same.Why is that? |
|
|
| Report Abuse |
|
|
| |
|
Saodo
|
  |
| Joined: 26 Jul 2011 |
| Total Posts: 1206 |
|
|
| 04 Jun 2013 03:41 PM |
if game.Workspace.Brick.Reflectance ==0 then game.Workspace.Brick.Anchored = false wait(3) game.Workspace.Brick.Anchored = true else game.Workspace.Brick.BrickColor = BrickColor.new ("Bright red") end
This script works. Place it in the "Workspace" |
|
|
| Report Abuse |
|
|
Saodo
|
  |
| Joined: 26 Jul 2011 |
| Total Posts: 1206 |
|
|
| 04 Jun 2013 03:44 PM |
b=game.Workspace.Brick
if b.Reflectance ==0 then b.Anchored = false wait(3) b.Anchored = true else b.BrickColor = BrickColor.new ("Bright red") end
This script also works. Remember to put it in "Workspace" |
|
|
| Report Abuse |
|
|
Saodo
|
  |
| Joined: 26 Jul 2011 |
| Total Posts: 1206 |
|
|
| 04 Jun 2013 03:45 PM |
Use this script if you want to place the script inside the "Brick"
b=script.Parent
if b.Reflectance ==0 then b.Anchored = false wait(3) b.Anchored = true else b.BrickColor = BrickColor.new ("Bright red") end
|
|
|
| Report Abuse |
|
|
| |
|