RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"a tweened part"
-- local script local TweenService = game:GetService("TweenService") local part = game.Workspace.Part local tweenInfo = TweenInfo.new( 3, -- Time (seconds) Enum.EasingStyle.Quad, -- EasingStyle Enum.EasingDirection.Out, -- EasingDirection -1, -- RepeatCount (infinite) true, -- Reverses (ping-pong) 0 -- DelayTime (seconds) ) local goal = { Position = part.Position + Vector3.new(0, 10, 0); -- Move part 10 studs up } local tween = TweenService:Create(part, tweenInfo, goal) tween:Play()