01 | function onHover() |
02 | script.Parent.FontSize = "Size60" |
03 | script.Parent.TextColor 3 = script.Parent.TextColor 3. new( 124 , 0 , 0 ) |
04 | end |
05 |
06 | script.Parent.MouseEnter:connect(onHover) |
07 |
08 | function offHover() |
09 | script.Parent.FontSize = "Size48" |
10 | end |
11 |
12 | script.Parent.MouseLeave:connect(offHover) |
Alright so the only line that I need help with here is line 3, because I have no clue what I would write there to change the color :/ thanks for help in advance!
TextColor
uses Color3.new
. So, changing it to script.Parent.TextColor3 = Color3.new(124, 0, 0)
would be legit in the style.