Hello guys, I am making something for my sword using Motor6D I wanna do a simple movement using tweening but for some reason its not working and im not sure why. There are not errors it just does nothing...
local HandPos = { [1] = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(180)), [2] = CFrame.new(1,-0.2,0) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(180),math.rad(180)), } Tool.Equipped:connect(function() Sabers[1]:WaitForChild("Handle") if not Igniting then for i, Saber in next, ActiveSabers do local Arm = "RightHand" if i == 2 then Arm = "LeftHand" end local info = TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut,0,false,0) local tween = TweenService:Create(Saber.Handle, info, {CFrame = HandPos[i]})--the problem is somewhere here i think tween:Play() wait(1) ActionWeld(Saber, user.Character[Arm], HandPos[i] ) end end end)
I have no point why if you know plz tell me...