#How to move a model using tweens?

1 messages · Page 1 of 1 (latest)

regal bronze
#

Greetings, I am trying to move my TDG enemies using tween instead of Humanoids...but its going tedious.
The given code is used for tweening and it doesnt do anything

brisk notch
#

wheres the tweeninfo?

#

if its setup like a semi proper rig just move the part that its all welded to

#

and the parts will follow with the tween

#

as long as it unachored

regal bronze
#

It is for an npc model I took out of toolbox

brisk notch
#

tween info has settings in it

regal bronze
#

Manipulating such things really confuses my as I set the primarypart to be the torso part so Im assuming it should all go along when that one moves in it

regal bronze
brisk notch
#

local tweeninfo1 = tweeninfo.new(
2, ----time
Enum.EasingStyle.Linear, ----EasingStyle
Enum.EasingDirection.In ---- Easing Direction
)

#

watch this

#

but not ui

regal bronze
regal bronze
brisk notch
#

ohhh ok

#

thxs

regal bronze
#

I will look into taht one

brisk notch
#

u have multiple numbers

#

just keep the first three

#

tell me what happens

regal bronze
barren remnantBOT
#

studio** You are now Level 9! **studio

brisk notch
#

in the tweeninfo

#

u have 0.5,
0,
1,

#

its using multiple for the time

#

and what does the false do?

#

just try and keep

#

local tweeninfo = TweenInfo.new(
0.5,
Enum.EasingStyle.Linear,
Enum.EasingDirection.Out
)

brisk notch
#

wdym?

regal bronze
#

alright
So false is that its not reversing,
0 is that it doesnt repeat(repeat count 0)
and 1 is the delay time

regal bronze
#

Oke
I will look into that later today 🙂
Thanks