Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- put this in credits as a localscript, and make sure the names are the same >,<
- script.Parent.MouseButton1Down:Connect(function()
- script.Parent.Drop:TweenSizeAndPosition(UDim2.new(0, 200,0, 40),UDim2.new(0, 0,-0.8, 0),"Out","Linear",0.15,false,nil)
- end)
- script.Parent.MouseButton1Up:Connect(function()
- script.Parent.Drop:TweenSizeAndPosition(UDim2.new(0, 200,0, 0),UDim2.new(0, 0,0, 0),"In","Linear",0.15,false,nil)
- end)
- script.Parent.MouseEnter:Connect(function()
- game:GetService("TweenService"):Create(script.Parent, TweenInfo.new(0.3), {BackgroundTransparency = 0.8}):Play()
- end)
- script.Parent.MouseLeave:Connect(function()
- game:GetService("TweenService"):Create(script.Parent, TweenInfo.new(0.3), {BackgroundTransparency = 1}):Play()
- end)
Advertisement
Add Comment
Please, Sign In to add comment