Good afternoon all!!! Hope you are having a great day so far , and i hope it continues. I'm making a script where if somebody presses a designated key false is true and is supposed to stretch the arm - however when i press the key the anim plays without the arm (RightHand)!

-goku :D

local tween = game:GetService("TweenService")
local tweenfo= --line after is normally here
TweenInfo.new(7,Enum.EasingStyle.Elastic,Enum.EasingDirection.InOut,1,true,0)
local partproperites = {Size = Vector3.new(0,10,2)}


local tweens = tween:Create(arm,tweenfo,partproperites)

if punch == false then
	tweens:Play()	
end


8 comments

1

maybe because you're not defining punch

0

^, what he said

0

That only runs once, either do a while loop,

0

That only runs once, either do a while loop,

0

That only runs once, either do a while loop,

0

That only runs once, either do a while loop,

0

Or it isn’t looping

0

It works - the hand falls off - and the hand does not tween... it just stays the same