im trying to do:
local Close = script.Parent
Close.MouseEnter:Connect(function() Close.TextSize = 17 end)
Close.MouseLeave:Connect(function() Close.TextSize = 14 end)
it just doesnt work why?
Hope this helps! i think the problem was either debounce or the textscaled value was true
01 | local debounce = false |
02 | script.Parent.MouseEnter:Connect( function () |
03 | if not debounce then |
04 | debounce = true |
05 | -- code here |
06 | -- this is testing code V |
07 | script.Parent.TextSize = 100 |
08 | script.Parent.TextScaled = false |
09 | wait( 0.5 ) |
10 | debounce = false |
11 | end |
12 |
13 | end ) |
14 |
15 | local debounce = false |
dont remove the debounce as that will bug it out