Ducksneedhelp1

Another TweenService Script

Aug 26th, 2020
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | None | 0 0
  1. local TweenService = game:GetService("TweenService")
  2.  
  3. local Part = script.Parent
  4.  
  5. local information = TweenInfo.new(
  6. 1,
  7. Enum.EasingStyle.Bounce,
  8. Enum,EasingDirection.Out,
  9. 2,
  10. false,
  11. 2)
  12.  
  13. local partStuff = {
  14.  
  15. Part.Position = Vector3.new(10,30,30);
  16.  
  17. }
  18.  
  19. local changePositionOfPart = TweenService:Create(Part, information, partStuff)
  20. changePositionOfPart:Play()
Advertisement
Add Comment
Please, Sign In to add comment