|
| 03 May 2014 02:23 PM |
while true do game.Workspace.RoundDoor.Transparency = "0.6" game.Workspace.RoundDoor.CanCollide = "true" wait(2) game.Workspace.RoundDoor.Transparency = "9" game.Workspace.RoundDoor.CanCollide = "false" wait(6) end
The transparency is working, but the CanCollide is not. Help is appreciated. |
|
|
| Report Abuse |
|
|
| |
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
|
| 03 May 2014 02:25 PM |
Transparency and CanCollide are not strong values.
It's 0.6 and true, no speech marks. |
|
|
| Report Abuse |
|
|
|
| 03 May 2014 02:25 PM |
You can just put:
part.CanCollide = false
not
part.CanCollide = "false" |
|
|
| Report Abuse |
|
|
ajmhm1111
|
  |
| Joined: 22 Jun 2013 |
| Total Posts: 164 |
|
|
| 03 May 2014 02:26 PM |
Hello,
while true do game.Workspace.RoundDoor.Transparency = 0.6 game.Workspace.RoundDoor.CanCollide = true --You were passing it a string. wait(2)
game.Workspace.RoundDoor.Transparency = 1 --1 is fully transparent, no need for 9 game.Workspace.RoundDoor.CanCollide = false --It needed a boolean wait(6) end
I think that should work. --ajmhm1111 |
|
|
| Report Abuse |
|
|
| |
|