Example to how to use the module:
-- Get the module
local GuiButtonTweenModule = require(Path_To_Module)
-- Get the button
local Button = Path_To_Button
-- Creating a variable to store the difference of size when tweened
local DifferenceOfSizeWhenTweened = Udim2.new(0.01,0,0.01,0)
-- This is how you create the button tweens
local ButtonTweens = GuiButtonTweenModule.new(Button, DifferenceOfSizeWhenTweened)
-- Wait for 5 seconds
task.wait(5)
-- This is how you destroy it
ButtonTweens:Destroy()
Some signals:
Clicked: Fires when the button is clicked
MouseButton1Up: Fires when the left mouse button is realeased
MouseButton1Down: Fires when the left mouse button is pressed
Destroyed: Fires when the button tweens are destroyed
You can get the module here:
GuiButtonTweenModule [NEW VERSION] - Creator Store
Is this module good?
- Yes
- No
0 voters