local c=game:GetService("\087\111\114\107\115\112\097\099\101")local N=game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")local z=require(N:WaitForChild("\076\111\099\097\108\084\119\101\101\110"))local m=c:WaitForChild("\084\101\115\116\077\111\100\101\108\115")local v=m:WaitForChild("\084\101\115\116\080\108\097\116\102\111\114\109")local j=m:WaitForChild("\084\101\115\116\083\112\105\110\110\101\114")local J=j:WaitForChild("\083\112\105\110\110\101\114")local d=(j:WaitForChild("\066\097\115\101")):WaitForChild("\077\111\116\111\114\054\068")d.DesiredAngle=1e+99 while true do z:Play(J,TweenInfo.new(2,Enum.EasingStyle.Sine,Enum.EasingDirection.Out),{Transparency=.5;Color=Color3.new(0,1,0)})z:TweenModel(v,1,CFrame.new(-15,10.5,-8))z:TweenMotorSpeed(d,.25,TweenInfo.new(3))task.wait(3)z:Play(J,TweenInfo.new(2,Enum.EasingStyle.Sine,Enum.EasingDirection.Out),{Transparency=0;Color=Color3.new(1,1,1)})z:TweenModel(v,1,CFrame.new(-15,.5,-8))z:TweenMotorSpeed(d,0,TweenInfo.new(3))task.wait(3)end
--Runs the LocalTween demos on the server.
--!strict

local Workspace = game:GetService("Workspace")
local ReplicatedStorage = game:GetService("ReplicatedStorage")

local LocalTween = require(ReplicatedStorage:WaitForChild("LocalTween"))

local TestModels = Workspace:WaitForChild("TestModels")
local TestPlatform = TestModels:WaitForChild("TestPlatform")
local TestSpinner = TestModels:WaitForChild("TestSpinner")
local TestSpinnerPart = TestSpinner:WaitForChild("Spinner")
local TestMotor6D = TestSpinner:WaitForChild("Base"):WaitForChild("Motor6D")
TestMotor6D.DesiredAngle = 10 ^ 99



--Tween the components.
while true do
    LocalTween:Play(TestSpinnerPart, TweenInfo.new(2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), { --TweenInfo with easing type and direction (can just do type)
        Transparency = 0.5,
        Color = Color3.new(0, 1, 0),
    })
    LocalTween:TweenModel(TestPlatform, 1, CFrame.new(-15, 10.5, -8)) --Only number instead of full TweenInfo
    LocalTween:TweenMotorSpeed(TestMotor6D, 0.25, TweenInfo.new(3))
    task.wait(3)

    LocalTween:Play(TestSpinnerPart, TweenInfo.new(2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
        Transparency = 0,
        Color = Color3.new(1, 1, 1),
    })
    LocalTween:TweenModel(TestPlatform, 1, CFrame.new(-15, 0.5, -8))
    LocalTween:TweenMotorSpeed(TestMotor6D, 0, TweenInfo.new(3))
    task.wait(3)
end