Ducksneedhelp1

TweenService Script

Jun 24th, 2020 (edited)
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.41 KB | None | 0 0
  1. local TweenService = game:GetService = ("TweenService")
  2. local part = script.Parent
  3.  
  4. local Information = TweenInfo.new(
  5. 1,
  6. Enum.EasingStyle.Bouce,
  7. Enum.EasingDirection.InOut,
  8. 2,
  9. false,
  10. 1
  11. )
  12.  
  13. local partProperties = {
  14.  
  15. Size = Vector3.new(20,25,20)
  16. Brickcolor = Brickcolor.new("New Yeller")
  17. }
  18.  
  19. local MakeTweenMagic = TweenService:Create(part, Information, partProperties)
  20.  
  21. wait(5)
  22. MakeTweenMagic:Play()
Advertisement
Add Comment
Please, Sign In to add comment