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
 

Can't find problem with script?

Previous Thread :: Next Thread 
Zootopia is not online. Zootopia
Joined: 29 Apr 2009
Total Posts: 1383
20 Jan 2014 04:04 AM
function onTouched(part)

script.Parent.Color = Color3.new(24)
wait(1)
script.Parent.Color = Color3.new(1)
wait()

end

script.Parent.Touched:connect(onTouched)



If you've read my original post, I actually figured out the solution myself. Sorry if you've already told me how to fix it.

Now this script DOES work (for the most part, keep reading), but for some reason after 1 second it does not change color.

Anyone know why it doesn't work up to that point?
Report Abuse
Zootopia is not online. Zootopia
Joined: 29 Apr 2009
Total Posts: 1383
20 Jan 2014 04:12 AM
ACTUALLY never mind, twice again, but someone showed me another script that has the same functions but somehow can change colors after the one second passes.
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