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
 

Re: I need help with this script

Previous Thread :: Next Thread 
killerbolx is not online. killerbolx
Joined: 10 Sep 2009
Total Posts: 6135
21 Apr 2012 09:48 AM
the first part works but the second part doesn't and it doesn't return any errors

function onTouched(hit)
wait(50)
script.Parent.CanCollide = False
wait(70)
script.Parent.CanCollide = True
end
script.Parent.Touched:connect(onTouched)
Report Abuse
unholysoda is not online. unholysoda
Joined: 15 May 2010
Total Posts: 9024
21 Apr 2012 09:50 AM
function onTouched(hit)
wait(50)
script.Parent.CanCollide = false
wait(70)
script.Parent.CanCollide = true
end
script.Parent.Touched:connect(onTouched)


I think that you just were not waiting long enough, or something else is changing it.
Report Abuse
killerbolx is not online. killerbolx
Joined: 10 Sep 2009
Total Posts: 6135
21 Apr 2012 09:59 AM
It is still doing what it did before
Report Abuse
killerbolx is not online. killerbolx
Joined: 10 Sep 2009
Total Posts: 6135
21 Apr 2012 09:59 AM
wait nvm
Report Abuse
unholysoda is not online. unholysoda
Joined: 15 May 2010
Total Posts: 9024
21 Apr 2012 10:00 AM
So its fixed?
Report Abuse
killerbolx is not online. killerbolx
Joined: 10 Sep 2009
Total Posts: 6135
21 Apr 2012 10:02 AM
yep thanks!
Report Abuse
unholysoda is not online. unholysoda
Joined: 15 May 2010
Total Posts: 9024
21 Apr 2012 10:18 AM
No Problem.
Report Abuse
Spectrial is not online. Spectrial
Joined: 15 Mar 2012
Total Posts: 3348
21 Apr 2012 12:05 PM
AHH ROBLOX SYNTAX
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