Created
January 6, 2025 00:28
-
-
Save lamarmarshall/1e0851657494a0b3947466be379f31a2 to your computer and use it in GitHub Desktop.
Roblox, lua, tween
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local part = script.Parent | |
local tweenService = game:GetService("TweenService") | |
local tweenInfo = TweenInfo.new(3.0, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, -1, true, 0.2) | |
local tween = tweenService:Create(part, tweenInfo, {Position = part.Position + Vector3.new(0, 20, 0)}) | |
tween:Play() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment