You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
An animation that pauses -
What is the issue? Include screenshots / videos if possible!
https://youtu.be/5pyip7Z5Bps -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
Ive tried to set the animation speed extremely low but not 0
Ive tried to set the animation speed to a negative number
Ive tried to tween the clipboard to a part and a specific CFrame
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
local rig = script.Parent.Parent
local Clipboard = script.Parent
local CameraLocations = rig.Parent.CameraLocations
local TweenService = game:GetService("TweenService")
local ClipboardInfo = TweenInfo.new(
0.75,
Enum.EasingStyle.Linear,
Enum.EasingDirection.Out,
0,
false,
0
)
local CameraInfo = TweenInfo.new(
1,
Enum.EasingStyle.Linear,
Enum.EasingDirection.Out,
0,
false,
0
)
local GiveAnimation = Instance.new("Animation")
GiveAnimation.AnimationId = "rbxassetid://18433085701"
-- Load the animation onto the animator
local ClipboardAnimation = rig.Humanoid.Animator:LoadAnimation(GiveAnimation)
local ClipboardTween = TweenService:Create(Clipboard, ClipboardInfo, {CFrame = CFrame.new(-626.378, 16.16, -165.432) * CFrame.Angles(0,math.rad(-90),math.rad(60))}) --
-- Play the animation track
function Cutscene()
wait(1)
workspace.Inside.Desk_Bell.ProximityPrompt.Enabled = false
workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
ClipboardAnimation:Play()
ClipboardAnimation:AdjustSpeed(3)
wait(1)
local CameraTween = TweenService:Create(workspace.CurrentCamera, CameraInfo, {CFrame = CameraLocations.a.CFrame})
CameraTween:Play()
print("0")
end
ClipboardAnimation:GetMarkerReachedSignal("StartSigning"):Connect(function(paramString)
ClipboardAnimation:AdjustSpeed(0)
local CameraTween = TweenService:Create(workspace.CurrentCamera, CameraInfo, {CFrame = CameraLocations.b.CFrame})
ClipboardTween:Play()
CameraTween:Play()
CameraTween.Completed:Wait()
ClipboardAnimation:Stop()
end)
Cutscene()