generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

CanCollide script not working.

Previous Thread :: Next Thread 
Crazymonte is not online. Crazymonte
Joined: 15 Jan 2012
Total Posts: 888
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
Crazymonte is not online. Crazymonte
Joined: 15 Jan 2012
Total Posts: 888
03 May 2014 02:24 PM
Please help.
Report Abuse
smiley599 is not online. 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
Brickman2010 is not online. Brickman2010
Joined: 20 Nov 2009
Total Posts: 5547
03 May 2014 02:25 PM
You can just put:

part.CanCollide = false

not

part.CanCollide = "false"
Report Abuse
ajmhm1111 is not online. 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
Crazymonte is not online. Crazymonte
Joined: 15 Jan 2012
Total Posts: 888
03 May 2014 02:28 PM
Thanks you all!
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image