Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(1)
- local button = script.Parent
- local CD = Instance.new("ClickDetector",button)
- local sound = Instance.new("Sound",workspace)
- sound.SoundId = ("rbxassetid://452267918")
- sound.Volume = 10
- local sound2 = Instance.new("Sound",workspace)
- sound2.SoundId = ("rbxassetid://1846550529")
- sound2.Volume = 10
- en = true
- CD.MouseClick:connect(function()
- if en == false then return end
- en = false
- button.Position = Vector3.new(6, 0, 18)
- button.Material = ("Neon")
- sound:Play()
- wait(1)
- button.Position = Vector3.new(6, 0.5, 18)
- wait(1)
- local TweenService = game:GetService("TweenService")
- local tweeninfo = TweenInfo.new(1,Enum.EasingStyle.Elastic,Enum.EasingDirection.InOut,0,true,1)
- local properties = {Color = Color3.fromRGB(9,137,207), Size = Vector3.new(4,50,4)}
- local Tween = TweenService:Create(button,tweeninfo,properties)
- sound2:Play()
- Tween:Play()
- wait(4)
- button.Material = ("Plastic")
- wait(5)
- en = true
- end)
Advertisement
Add Comment
Please, Sign In to add comment