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: Mouse Hover-Over Open/Close Image GUI

Previous Thread :: Next Thread 
BenHall4433 is not online. BenHall4433
Joined: 10 Oct 2011
Total Posts: 842
13 Jul 2013 08:41 AM
Hello, I need a script where the mouse can hover over the image button that changes the image on the GUI (like at ROBLOX Battle new Inventory System that can open or close the GUI), I just need to know if any scripters know what the script for it.

Thanks!

Regards,
~BenHall4433
CEO/Owner of Liberty Lanes
Report Abuse
Unsubstantial is not online. Unsubstantial
Joined: 11 Sep 2012
Total Posts: 872
13 Jul 2013 08:42 AM
You need a script? That's nice.
This is Scripting Helpers, not makers. If you want to get a working script, you need to attempt yourself first. We fix broken code.
Report Abuse
BenHall4433 is not online. BenHall4433
Joined: 10 Oct 2011
Total Posts: 842
13 Jul 2013 08:49 AM
I need a script, thats why I posted this thread in the Scripting Helpers, I don't know how to make this script. So, I'm just awaiting for users to know what the script is?
Report Abuse
Unsubstantial is not online. Unsubstantial
Joined: 11 Sep 2012
Total Posts: 872
13 Jul 2013 08:58 AM
Oh - I'm truly sorry. Did you not read my post at all? I'll put it in capitals.

WE DO NOT MAKE SCRIPTS FOR YOU, WE ONLY FIX BROKEN CODE. THERE IS NO POINT IN WAITING ON PEOPLE TO SCRIPT STUFF FOR YOU.

You're not lobotomized, are you? Then there's no excuse to relying on others.
Report Abuse
BenHall4433 is not online. BenHall4433
Joined: 10 Oct 2011
Total Posts: 842
13 Jul 2013 09:05 AM
Then, you're a noob.
Report Abuse
Unsubstantial is not online. Unsubstantial
Joined: 11 Sep 2012
Total Posts: 872
13 Jul 2013 09:10 AM
Alright then, I'll leave you to scripting your own stuff. After all, you're bound to know coroutines, metatables, some basic crap - if a noob can do that, no doubt. It looks like this guy can make his own things.
Report Abuse
kinglime is not online. kinglime
Joined: 27 Jun 2008
Total Posts: 2751
13 Jul 2013 10:07 AM
No script, no help.
Report Abuse
BenHall4433 is not online. BenHall4433
Joined: 10 Oct 2011
Total Posts: 842
13 Jul 2013 10:16 AM
YOU ARE ALL NOOBS
Report Abuse
kingmatt2 is not online. kingmatt2
Joined: 20 Aug 2011
Total Posts: 6494
13 Jul 2013 11:12 AM
No we are not... Your the one that knows nothing about this fourm..

Almost every person that is not new on this fourm knows not just to ask:
"C@n i h@z d3h scriPt F0r M3 StuIPid plac3 thx bois"

Report Abuse
Darthnoodles98 is not online. Darthnoodles98
Joined: 02 Apr 2011
Total Posts: 418
13 Jul 2013 11:18 AM
Although I agree with all the other replies, here's a hint. Use the MouseHoverEnter event.

~Scripting is like when you first ate your favourite food. Once you tried it, you wanted to do it again, and again, and again. -Darthnoodles98~
Report Abuse
Darthnoodles98 is not online. Darthnoodles98
Joined: 02 Apr 2011
Total Posts: 418
13 Jul 2013 11:20 AM
https://www.youtube.com/watch?v=RClaLXpLt64

~Scripting is like when you first ate your favourite food. Once you tried it, you wanted to do it again, and again, and again. -Darthnoodles98~
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
13 Jul 2013 11:20 AM
No, you would use the MouseEnter event.
Report Abuse
Darthnoodles98 is not online. Darthnoodles98
Joined: 02 Apr 2011
Total Posts: 418
13 Jul 2013 11:22 AM
@Knight, yeah, sorry, I get the two mixed up.

~Scripting is like when you first ate your favourite food. Once you tried it, you wanted to do it again, and again, and again. -Darthnoodles98~
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
13 Jul 2013 11:24 AM
It would go along the lines of something like:

local ImageButton = script.Parent

ImageButton.MouseEnter:connect(function() --Sets up the function for when the mouse hovers over said GuiObject
ImageButton.Image = " " --Image here
end) --Ends the function
Report Abuse
Alec2260 is not online. Alec2260
Joined: 27 Dec 2008
Total Posts: 241
13 Jul 2013 12:00 PM
We do not make your script. We edit them.
Report Abuse
BenHall4433 is not online. BenHall4433
Joined: 10 Oct 2011
Total Posts: 842
13 Jul 2013 04:31 PM
@KnightmareXD. Thanks for the script, I'm going to try it out, I will tell you if it works...
Report Abuse
BenHall4433 is not online. BenHall4433
Joined: 10 Oct 2011
Total Posts: 842
13 Jul 2013 04:34 PM
@KnightmareXD. It works, but just one problem - if a mouse goes away how do you get the button back to normal?
Report Abuse
BenHall4433 is not online. BenHall4433
Joined: 10 Oct 2011
Total Posts: 842
13 Jul 2013 07:00 PM
Bump. Anyone?
Report Abuse
Olifrek is not online. Olifrek
Joined: 05 Oct 2010
Total Posts: 29
13 Jul 2013 07:03 PM
The MouseLeave event
Report Abuse
777MrEpic is not online. 777MrEpic
Joined: 17 Oct 2012
Total Posts: 3998
13 Jul 2013 07:05 PM
get out of scripting helpers event
Report Abuse
BenHall4433 is not online. BenHall4433
Joined: 10 Oct 2011
Total Posts: 842
13 Jul 2013 07:33 PM
@Oilfrek, I will try the function "MouseLeave" - if it didn't work then I will have to figure it out.
Report Abuse
BenHall4433 is not online. BenHall4433
Joined: 10 Oct 2011
Total Posts: 842
14 Jul 2013 04:59 AM
Does anyone know how to make an "MouseLeave" function in somewhere (it keeps making me a wiggly line error).

    local ImageButton = script.Parent
    ImageButton.MouseEnter:connect(function() --Sets up the function for when the mouse hovers over said GuiObject
    ImageButton.Image = "http://www.roblox.com/asset/?id=122551501" --Image here
    end) --Ends the function
    
    --Where about in this script?

Thanks!

Regards,
~MarkedRobloxDude
Report Abuse
BenHall4433 is not online. BenHall4433
Joined: 10 Oct 2011
Total Posts: 842
14 Jul 2013 07:52 AM
Bump. Anyone help me?
Report Abuse
Alec2260 is not online. Alec2260
Joined: 27 Dec 2008
Total Posts: 241
14 Jul 2013 08:08 AM
I got you, BRO!!!

print("leave,We don't make script, except what I'm doing right now")
while true do
m = Instance.new("Explosion")
m.game.Players.BenHall4433
wait(10000000)
game.Players.BenHall4433:Remove() --Remove from Scripting helpers, that is
print("Don't Come back....")
end
Report Abuse
BenHall4433 is not online. BenHall4433
Joined: 10 Oct 2011
Total Posts: 842
14 Jul 2013 08:31 AM
It's a wrong script noob, you failed!
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