Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How can I use tweenservice in one line?

I'm a bit new to tween service and I've been experimenting with it. I was wondering if there is any way to make it shorter without using variables etc.

1 answer

✓ Accepted answer

This could be a possible script:

local TS = game:GetService("TweenService")
TS:Create(part, TweenInfo.new(5), {Position = Vector3.new(10,1,10)}):Play() -- part is where you do a reference to the part like workspace.part1 if you need other stuff for tween info put it into the tween info, If you need other properties then type them into the {} brackets

This should In theory work

1 comment

0

thx for the check mark bro

This discussion is preserved as it was. New answers, comments, and votes are closed.