#need help with tweens

1 messages · Page 1 of 1 (latest)

manic thunder
#

i have a script that plays a tween on an object every time you click it. the problem is, it only plays on the first click. after that, it wont play again. how do i fix this (i want the tween to play EVERY time i click the object

manic thunder
midnight vessel
# manic thunder

the issue is that ur not newPosition variable do stays the same

#

u would need to put newPosition and tween variables into the MouseClick event

manic thunder
#

im super new so i dont rlly know anything

midnight vessel
#

move the
local newPosition = ...
and
local tween = tweenService...
above the tween:Play() inside of the clickdetector.MouseClick

manic thunder
#

it works perfectly now

#

i rlly appreciate your help