Since TweenService is yielding, :Pause() and :Stop() are quite inconvinient. From just using one script, is there a better way of using :Stop() on a TweenService or a better way to run multiple scripts into one? If you think using multiple scripts will make it more efficient somehow then feel free to give an explention that way. This is the best I got to pausing a TweenService so far:
local TS = game:GetService("TweenService");
local c = TS:Create(script.Parent,TweenInfo.new(1,Enum.EasingStyle.Back,Enum.EasingDirection.In,0,true,0.497),{Rotation=375});
local a;
local b;
a = game:GetService("RunService").RenderStepped:connect(function()
a:Disconnect();
c:Play();
end);
b = game:GetService("RunService").RenderStepped:connect(function()
b:Disconnect();
wait(1);
c:Pause(); -- Pauses the TweenService right inbetween
end);
Any help with improving this is appreciated. Thanks!
