Дополнен 2 недели назад
Анимацию вызываю по этому скрипту
local char = game.Players.LocalPlayer.Character or game.Players.LocalPlayer.CharacterAdded:Wait()
local cas = game:GetService("ContextActionService")
local usr = game:GetService("UserInputService")
local track = char.Humanoid:LoadAnimation(script.Parent.m1.Animations.DOmain)
if track then
usr.InputBegan:Connect(function(input, gameProcessedEvent)
if input.KeyCode == Enum.KeyCode.T and not gameProcessedEvent then
track:Play()
end
end)
else
print("Error: Animation could not be loaded.")
end