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 » Scripters
Home Search
 

Re: MouseHover thingy

Previous Thread :: Next Thread 
EdvisLT2 is not online. EdvisLT2
Joined: 12 Oct 2010
Total Posts: 92
27 Oct 2015 04:07 PM
script.Parent.ClickDetector.MouseHoverEnter:connect(function()
if script.Parent.BrickColor == BrickColor.new("Lily white") then
script.Parent.BrickColor = BrickColor.new("Really red")
end
if script.Parent.BrickColor == BrickColor.new("Really red") then
script.Parent.BrickColor = BrickColor.new("Lily white")
end
end)



Ayy lmao
Report Abuse
EdvisLT2 is not online. EdvisLT2
Joined: 12 Oct 2010
Total Posts: 92
27 Oct 2015 04:10 PM
Would be happy if someone'd fix this.

Yes, the starting color of the part IS Lily white.



Ayy lmao
Report Abuse
goro7 is not online. goro7
Joined: 01 Jul 2009
Total Posts: 735
27 Oct 2015 04:12 PM
script.Parent.ClickDetector.MouseHoverEnter:connect(function()
if script.Parent.BrickColor == BrickColor.new("Lily white") then
script.Parent.BrickColor = BrickColor.new("Really red")
elseif script.Parent.BrickColor == BrickColor.new("Really red") then
script.Parent.BrickColor = BrickColor.new("Lily white")
end
end)
Report Abuse
EdvisLT2 is not online. EdvisLT2
Joined: 12 Oct 2010
Total Posts: 92
27 Oct 2015 04:17 PM
Thanks, but that only fixed half of the problem.
After turning red, it doesn't turn white again when you hover on it.



Ayy lmao
Report Abuse
goro7 is not online. goro7
Joined: 01 Jul 2009
Total Posts: 735
27 Oct 2015 04:19 PM
I don't see why it wouldn't...
Report Abuse
EdvisLT2 is not online. EdvisLT2
Joined: 12 Oct 2010
Total Posts: 92
27 Oct 2015 04:20 PM
Neither do I, actually.



Ayy lmao
Report Abuse
EdvisLT2 is not online. EdvisLT2
Joined: 12 Oct 2010
Total Posts: 92
27 Oct 2015 04:23 PM
Anybody else out there?


Ayy lmao
Report Abuse
EdvisLT2 is not online. EdvisLT2
Joined: 12 Oct 2010
Total Posts: 92
27 Oct 2015 04:27 PM
Alright, it seems something was wrong with the servers, not the script, causing the script not to work properly.

Basically goro fixed it.
Thanks.



Ayy lmao
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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