Introduction
Hi everyone! This is my first contribution to the DevForum.
I created a highly optimized, feature-rich module to handle Button Interactions. It handles everything from simple ripple effects to complex cooldown logic with physical feedback.
It is designed to be Plug & Play. You don’t need to write complex tweens anymore.
Features
Material Ripple Effect: Smooth expanding circle animation on click.
Hover Glow & Spin: Glowing ring effect that spins when hovering.
Smart Audio System: Prevents audio distortion (spamming) and adds pitch variation for a natural feel.
Shake Feedback: Buttons physically shake on click (customizable intensity).
Cooldown System: Set cooldowns (e.g., 3 seconds) for skills.
Error Handling: If clicked during cooldown, it plays an error sound and shakes differently.
Keybinding: Bind keyboard keys (like ‘Q’ or ‘E’) to trigger buttons easily.
Showcase
Installation & Usage
- Get the model from the Crator Store (Click)
- Place the
ButtonRippleModuleScript insideReplicatedStorage. - Create a
LocalScriptinside your Button and use the code below:
If you have any features you’d like to see added or any feedback, feel free to reply to this thread and let me know!
Basic Usage
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local ButtonRipple = require(ReplicatedStorage:WaitForChild("ButtonRipple"))
-- Default white ripple & glow
ButtonRipple.new(script.Parent)