I have two scripts.
PosScr:
while true do local tweenService = game:GetService("TweenService") local Properties = { Position = Vector3.new(0,11,0) } local TweenInfoo = TweenInfo.new(1,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut) local tween = tweenService:Create(script.Parent,TweenInfoo,Properties) wait(1) tween:Play() print("T") local Properties2 = { Position = Vector3.new(0,1,0) } local TweenInfoo = TweenInfo.new(1,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut) local tween = tweenService:Create(script.Parent,TweenInfoo,Properties2) wait(1) tween:Play() print("L") end
RotScr:
while true do local tweenService = game:GetService("TweenService") local Properties = { CFrame = script.Parent.CFrame * CFrame.Angles(0,math.rad(180),0) } local TweenInfoo = TweenInfo.new(10,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut) local tween = tweenService:Create(script.Parent,TweenInfoo,Properties) wait(0.5) print("L") tween:Play() end
PosScr on it's own works fine, but i wanted it to rotate at the same time. So i made RotScr. This is what happens when i run both of them at the same time: https://gyazo.com/2e24f2581222b3b429f94e800e49f8c3
Yes, it IS rotating, but it stutters badly. How do i fix this? Edit: It's not even rotating how much i told it to. Also how do i fix this?