I have made 2 blocks that I want to tween, that goes up and down, but after the tween starts theres like a 0.5 second wait before repeating. what do I need to do? my script:
local tweenService = game:GetService("TweenService")
local Base = workspace.HydraulicPressBase
local Baseback = workspace.HydrualicPressBakc
local tweeningInformation = TweenInfo.new(
3,
Enum.EasingStyle.Linear,
Enum.EasingDirection.Out,
0, -- which part do I need to change so it can wait a bit before repeating?
false,
1
)
local BaseProp = {
Position = Vector3.new(-2.5, 1.5, -0.5)}
local tween = tweenService:Create(Base,tweeningInformation,BaseProp)
tween:Play()
local BackProp = {
Position = Vector3.new(-2.5, 39.5, -0.5)}
local tween = tweenService:Create(Baseback,tweeningInformation,BackProp)
tween:Play()