roblox tweenservice

Sure! Here is a response without your personal words at the beginning and end of your reply:

  1. Import the TweenService module by using the require function:
local TweenService = game:GetService("TweenService")
  1. Create a new tween by using the Create function of TweenService:
local tweenInfo =, easingStyle, easingDirection, repeatCount, reverses, delayTime)
local tween = TweenService:Create(instance, tweenInfo, goals)
  1. Play the tween on an instance by using the Play function:
  1. Pause the tween using the Pause function:
  1. Resume the paused tween using the Resume function:
  1. Cancel the tween using the Cancel function:
  1. Connect a function to the Completed event of the tween to execute code when the tween is finished:
    -- Code to execute when the tween is finished