Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- put this inside the button as a localscript
- -- also change the colors to whatever you chose.. these are my colors
- script.Parent.MouseEnter:Connect(function()
- game:GetService("TweenService"):Create(script.Parent, TweenInfo.new(0.3), {BackgroundColor3 = Color3.fromRGB(43, 43, 43)}):Play()
- end)
- script.Parent.MouseLeave:Connect(function()
- game:GetService("TweenService"):Create(script.Parent, TweenInfo.new(0.3), {BackgroundColor3 = Color3.fromRGB(35, 35, 35)}):Play()
- end)
Advertisement
Add Comment
Please, Sign In to add comment