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: Doesn't work...?

Previous Thread :: Next Thread 
pokoblox is not online. pokoblox
Joined: 06 Oct 2011
Total Posts: 438
07 Dec 2012 08:47 PM
current = script.Parent.Parent:clone()
script.Parent.MouseEnter:connect(function ()
script.Parent.Parent.ImageId = "http://www.roblox.com/asset/?id=99434643"
script.Parent.MouseLeave:connect(function ()
script.Parent.Parent.ImageId = current.ImageId
end)
end)

No output...
Report Abuse
pokoblox is not online. pokoblox
Joined: 06 Oct 2011
Total Posts: 438
07 Dec 2012 08:48 PM
Oh wait, ImageId is not a valid member of Frame

Report Abuse
pokoblox is not online. pokoblox
Joined: 06 Oct 2011
Total Posts: 438
07 Dec 2012 08:53 PM
Bump
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
07 Dec 2012 08:55 PM
Assuuming you have the right parents to either a GUILabel or GUIButton, the property is called "Image".

And if this isn't part of a script, the last end is not needed.

¤ † KMXD† ¤
Report Abuse
Jonah13249 is not online. Jonah13249
Joined: 09 Oct 2009
Total Posts: 2105
07 Dec 2012 09:46 PM
current = script.Parent.Parent:clone()
script.Parent.MouseEnter:connect(function ()
script.Parent.Parent.ImageId = "http://www.roblox.com/asset/?id=99434643"
script.Parent.MouseLeave:connect(function ()
script.Parent.Parent.ImageId = current
end)
end)


~ṡсɾïρτïṉģ hεlρεɾṡ ۩ lυαlεαɾṉεɾṡ ④ øƒвќṃṿј~ ღ ▂▃▅▆█ρεώḋïερïε☄сυτïερïε█▆▅▃▂ღ
Report Abuse
Jonah13249 is not online. Jonah13249
Joined: 09 Oct 2009
Total Posts: 2105
07 Dec 2012 09:46 PM
LOL Ignore that. :DD I looked at it again and it was wrong. c:

~ṡсɾïρτïṉģ hεlρεɾṡ ۩ lυαlεαɾṉεɾṡ ④ øƒвќṃṿј~ ღ ▂▃▅▆█ρεώḋïερïε☄сυτïερïε█▆▅▃▂ღ
Report Abuse
pokoblox is not online. pokoblox
Joined: 06 Oct 2011
Total Posts: 438
07 Dec 2012 10:20 PM
Bump
Report Abuse
thedeathmaster01 is not online. thedeathmaster01
Joined: 14 Mar 2010
Total Posts: 6331
07 Dec 2012 10:26 PM
current = script.Parent.Parent
script.Parent.MouseEnter:connect(function ()
script.Parent.Parent.ImageId = "http://www.roblox.com/asset/?id=99434643"
end)
script.Parent.MouseLeave:connect(function ()
script.Parent.Parent.Image = current.Image
end)


~ thedeathmaster01 ~
Report Abuse
pokoblox is not online. pokoblox
Joined: 06 Oct 2011
Total Posts: 438
07 Dec 2012 11:31 PM
Is that all I needed...?

And end)?
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