Brick bounce up an down

Im trying to make a brick bounce up an down. I have this so far

local TweenService = game:GetService("TweenService")

local part = script.Parent

part.Position = Vector3.new(-6.958, 15.759, -8.444)

how do i loop it and make it go up and down, the down poisiton is -6.958, 14.959, -8.444

local TweenService = game:GetService("TweenService")
local part = script.Parent
local tweenInfo = TweenInfo.new(
    1, -- time
    Enum.EasingStyle.Linear, -- easing style
    Enum.EasingDirection.Out, -- easing direction
    0, -- repeat count (0 means infinite)
    true) -- reverses?

part.Position = Vector3.new(-6.958, 15.759, -8.444)
local tween = TweenService:Create(part, tweenInfo, {
    Position = Vector3.new(-6.958, 14.959, -8.444); -- what we are changing about the object
})
tween:Play()
1 Like

I did it all but it doesnt bounce.

You have to change the EasingStyle to Bounce, you can view all of them here:

I should say its a model tho…

I changed it, its just stuck in mid air now.

Are there any Weld/WeldConstraints on it? Or is the model anchored?

I figured it out, when i do say 10, it works, but 0 (infinite) doesnt

hi you probably already fixed this but the number for infinite on tweens is -1