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: Please point out the script error

Previous Thread :: Next Thread 
ExplodeLikeAVolcano is not online. ExplodeLikeAVolcano
Joined: 02 Nov 2013
Total Posts: 12146
15 Oct 2016 10:45 PM
I have a button in a GUI, a textlabel also in the GUI not in the button, and I want the textlabel to appear on the side of the button when a player hovers over the mouse on the button. But it is not working.

gui = script.Parent

function onEnter()
script.Parent.Parent.TextLabel.Visible = true
gui.Text = ""
gui.Font = "Settings"
end

function onLeave()
script.Parent.Parent.TextLabel.Visible = false
gui.Text = ""
gui.Font = ""
end

gui.MouseEnter:connect(onEnter)
gui.MouseLeave:connect(onLeave)


Report Abuse
ExplodeLikeAVolcano is not online. ExplodeLikeAVolcano
Joined: 02 Nov 2013
Total Posts: 12146
15 Oct 2016 10:48 PM
################################
Report Abuse
ExplodeLikeAVolcano is not online. ExplodeLikeAVolcano
Joined: 02 Nov 2013
Total Posts: 12146
15 Oct 2016 10:49 PM
http

:

//

prntscr

.

com

/

cuuwuw

Filter is strong.


Report Abuse
Intended_Pun is not online. Intended_Pun
Joined: 10 Aug 2016
Total Posts: 4384
15 Oct 2016 10:51 PM
There's a lot wrong there. First of all, "Settings" isn't a font.
Second, you shouldn't be using strings for the font names. Do

Enum.Font.FontName

instead.
Report Abuse
Wunder_Wulfe is online. Wunder_Wulfe
Joined: 13 Sep 2016
Total Posts: 8356
15 Oct 2016 10:52 PM
gui.Font = "Settings"
?????

do you not know what a font is?
Report Abuse
ExplodeLikeAVolcano is not online. ExplodeLikeAVolcano
Joined: 02 Nov 2013
Total Posts: 12146
15 Oct 2016 10:53 PM
OH LOL THANKS JUST NOTICED


Report Abuse
ExplodeLikeAVolcano is not online. ExplodeLikeAVolcano
Joined: 02 Nov 2013
Total Posts: 12146
15 Oct 2016 10:55 PM
But there is still a script error.


Report Abuse
Intended_Pun is not online. Intended_Pun
Joined: 10 Aug 2016
Total Posts: 4384
15 Oct 2016 10:56 PM
It would help to tell us the error.
Report Abuse
ExplodeLikeAVolcano is not online. ExplodeLikeAVolcano
Joined: 02 Nov 2013
Total Posts: 12146
15 Oct 2016 10:57 PM
It's not working lool


Report Abuse
Intended_Pun is not online. Intended_Pun
Joined: 10 Aug 2016
Total Posts: 4384
15 Oct 2016 10:58 PM
Are there any errors in output?
Report Abuse
ExplodeLikeAVolcano is not online. ExplodeLikeAVolcano
Joined: 02 Nov 2013
Total Posts: 12146
15 Oct 2016 10:59 PM
end is the error for some reason


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