Hello everyone, I have a problem that when I use tweensize on a textbutton everything works fine, but the text size does not change text scaled is not worth it!
local startsize = UDim2.new(0.4, 0,0.15, 0)
local hoversize = UDim2.new(0.45,0,0.2,0)
game.Workspace.Lobby.Design.Invite.InvitePart.SurfaceGui.TextButton.MouseButton1Down:Connect(function()
end)
game.Workspace.Lobby.Design.Invite.InvitePart.SurfaceGui.TextButton.MouseEnter:Connect(function()
game.SoundService.SFXHover:Play()
game.Workspace.Lobby.Design.Invite.InvitePart.SurfaceGui.TextButton:TweenSize(hoversize,Enum.EasingDirection.Out, Enum.EasingStyle.Sine,.25,true)
end)
game.Workspace.Lobby.Design.Invite.InvitePart.SurfaceGui.TextButton.MouseLeave:Connect(function()
game.Workspace.Lobby.Design.Invite.InvitePart.SurfaceGui.TextButton:TweenSize(startsize,Enum.EasingDirection.Out, Enum.EasingStyle.Sine,.25,true)
end)
robloxapp-20230706-2130363.wmv (1.3 MB)