Qeary
|
  |
| Joined: 27 Jun 2013 |
| Total Posts: 5401 |
|
|
| 25 Apr 2014 01:24 PM |
The get smaller again on MouseLeave?
Error: You need builders club to buy builders club. |
|
|
| Report Abuse |
|
|
Qeary
|
  |
| Joined: 27 Jun 2013 |
| Total Posts: 5401 |
|
|
| 25 Apr 2014 01:32 PM |
b1
Error: You need builders club to buy builders club. |
|
|
| Report Abuse |
|
|
Qeary
|
  |
| Joined: 27 Jun 2013 |
| Total Posts: 5401 |
|
|
| 26 Apr 2014 02:57 AM |
b2
Error: You need builders club to buy builders club. |
|
|
| Report Abuse |
|
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
|
| 26 Apr 2014 03:02 AM |
script.Parent.MouseEnter:connect(function() script.Parent.FontSize=16 end
script.Parent.MouseLeave:connect(function() script.Parent.FontSize=12 end |
|
|
| Report Abuse |
|
|
Qeary
|
  |
| Joined: 27 Jun 2013 |
| Total Posts: 5401 |
|
|
| 27 Apr 2014 12:17 AM |
Thank you!
Error: You need builders club to buy builders club. |
|
|
| Report Abuse |
|
|
|
| 27 Apr 2014 12:34 AM |
You can also use TweenSize and TextScaled, keeps a constant size on the Text and at the same time has a nice, fancy-ish tween on the object.
:: Schrödinger's cat walks into a bar and doesn't. :: |
|
|
| Report Abuse |
|
|
Qeary
|
  |
| Joined: 27 Jun 2013 |
| Total Posts: 5401 |
|
|
| 27 Apr 2014 01:08 AM |
Wait the function MouseLeave script is broken.
Error: You need builders club to buy builders club. |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 27 Apr 2014 02:29 AM |
Just put them in one script, and make it a local script
Also this is it fixed
script.Parent.MouseEnter:connect(function() script.Parent.FontSize = Enum.FontSize.Size18 end)
script.Parent.MouseLeave:connect(function() script.Parent.FontSize = Enum.FontSize.Size12 end) |
|
|
| Report Abuse |
|
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
|
| 27 Apr 2014 03:35 AM |
Sorry, I left off two brackets. Here:
script.Parent.MouseEnter:connect(function() script.Parent.FontSize=16 end)
script.Parent.MouseLeave:connect(function() script.Parent.FontSize=12 end) |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 27 Apr 2014 09:16 AM |
@Smile 16 isn't a text size It should should be a enum, or a string ("Size12" and "Size18") |
|
|
| Report Abuse |
|
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
| |
|
Qeary
|
  |
| Joined: 27 Jun 2013 |
| Total Posts: 5401 |
|
|
| 04 May 2014 10:32 AM |
Thanks both of you
Error: You need builders club to buy builders club. |
|
|
| Report Abuse |
|
|