SkeletalScripts

button

Jun 19th, 2020
592
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. script.Parent.MouseEnter:Connect(function()
  2. game:GetService("TweenService"):Create(script.Parent, TweenInfo.new(0.3), {BackgroundColor3 = Color3.fromRGB(64,64,64)}):Play()
  3. end)
  4. script.Parent.MouseLeave:Connect(function()
  5. game:GetService("TweenService"):Create(script.Parent, TweenInfo.new(0.3), {BackgroundColor3 = Color3.fromRGB(43, 43, 43)}):Play()
  6. end)
  7. script.Parent.MouseButton1Click:Connect(function()
  8. -- script for later
  9. end)
Advertisement
Add Comment
Please, Sign In to add comment