I watched a video from DevKing Link: https://www.youtube.com/watch?v=pKbQbCf9i90&t=753s&ab_channel=TheDevKing ) And I did everything correct i think but it still does not work if someone could fix my script that will be very nice

Script below

local TweenService = game:GetService("TweenService")
local part = script.Parent

local info = TweenInfo.new(
	5,                          --Length (seconds)
	Enum.EasingStyle.Linear,    --easing style
	Enum.EasingDirection.Out,   --Direction its going
    -1,                         --The amount of time it reapeats -1 is infinite and 0 is = to 1 and so on
	true,                       --reverse option
	1                          --The amount of time it delays it from moving
	)

local Goals =
{
	local Goals = {Size = Vector3.new(10,10,10)}
	
}
local MakePartMoveTween = TweenService:Create(part, Info, Goals)

MakePartMoveTween:Play()

Thank you and have a nice day!!

1 comment

0

not moving or not moving back to its location? Also i dont really reccomend tweening for an obby