[Plugin] EZButtons V2 - Animate UI Buttons Easily!

:small_blue_diamond: EZButtons – Animated & Stylized UI Buttons for Roblox

EZButtons is a lightweight plugin that enhances your Roblox UI buttons with smooth hover and click animations, clean shadows, and optional pastel rainbow effects and more! All with super easy interaction with the plugin.

It uses clean design, making it easy to apply consistent animations to multiple buttons across your game interface.

Latest Version: 2.0

  • EZButtons is now a plugin! It’s free to install
  • Customize your buttons without coding

Version: 1.1

  • Added ImageButton
  • Added a new effect: Gradient
  • Tip: Use the combo of Gradient + Rainbow to get a beautiful effect ! :milky_way:

:sparkles: Features

  • Easy-to-use Plugin
  • Smooth hover and click animation using TweenService
  • Automatically generated shadow with rounded corners
  • Optional effects to use on your buttons!

Module Usage (deprecated)

EZButtons.new(button: TextButton)

  • Creates a new animated button instance.
  • Sets up hover, click, and shadow effects.
  • Requires the button to have a UICorner, size, and position.

EZButtons:StartRainbow(speed: number)

  • Starts a background color animation with a soft pastel rainbow loop.
  • Uses HSV with reduced saturation.

EZButtons:StopRainbow()

  • Stops the rainbow effect.
  • Safe to call even if it hasn’t been started.

EZButtons:StartGradient(color: Color3, speed: number)

  • Starts a background color animation with a soft pastel rainbow loop.
  • Uses HSV with reduced saturation.

EZButtons:StopGradient()

  • Stops the gradient effect.
  • Safe to call even if it hasn’t been started.
Examples

Here is the code of the example:

local EZButton = require(path.to.EZButtons)

local player = game.Players.LocalPlayer

local folder = script.Parent

-- Precreated buttons (in studio)
local textBTN = EZButton.new(folder.TextButton)
local imageBTN = EZButton.new(folder.ImageButton)
local gradientBTN = EZButton.new(folder.Gradient)

-- Created buttons (in script)
local CreatedBTN = Instance.new("TextButton")
CreatedBTN.Parent = player.PlayerGui.ScreenGui
CreatedBTN.Size = UDim2.new(0, 100, 0, 50)
CreatedBTN.Position = UDim2.new(0.5, 0, 0.35, 0)

local Corner = Instance.new("UICorner")
Corner.Parent = CreatedBTN


local NewBTN = EZButton.new(CreatedBTN)
NewBTN:StartRainbow(1.5)


gradientBTN:StartGradient(Color3.new(0.4, 0.7, 0.5), 1)
gradientBTN:StartRainbow(1)


:package: Integration

Just insert the module into ReplicatedStorage or any shared location, require it, and create instances with your buttons.

Note: The ScreenGui ZIndexBehavior must be Global


:page_with_curl: License

MIT – Free for all use. Credits appreciated but not required.


:pencil:Feedback

I’d love to hear your thoughts about this module.

If you come across any bugs or issues, or have suggestions for improvement, don’t hesitate to let me know.

I’m happy to answer any questions you might have, just reach out!

8 Likes

Feel free to send feedback or just drop a thanks! :happy3:

EZButtons V1.1 is released!

  • Now you can use ImageButtons without issues;
  • Additionally, I added a new Gradient effect.
  • When Gradient and Rainbow are activated on a button, you get a beautiful attracting effect !

This is really cool but I think it would benefit from using Tags with the collection service as having to instance the module script every time requires more scripts than necessary. For example, you can add a tag called “EZButtonsHoverEffect” to a button and even use attributes to control settings without even using a single script which would be really useful when you have many buttons you don’t want to have to use a script for. I would still keep the module though.

2 Likes

Wow, I didn’t think of that, it would definitely make the module more clean, especially for games with a lot of buttons as you said.
I’ll look into adding that as an optional feature in the next update while still keeping the current usage for those who prefer it.

Thanks a lot for the feedback!

2 Likes

Working on V2 !

No need for coding, it will be a plugin :wink:

EZButtons V2 [Plugin] is released!

  • Free to use
  • Customize your buttons without coding

It’s the first version of the plugin, if you found any bug please share it to me.

Getting this error when trying to grab the plugin.

1 Like

Ah sorry mb, you can get it now.

1 Like