You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? I want my animations to play one at a time
-
What is the issue? if i activate another animation before the first one is finished they both play at the same time
-
What solutions have you tried so far?
I tried changing the animation priority and I tried stopping the animation before playing another one using the Stop() Command
Here is a video showing the issue:robloxapp-20210801-2009399.wmv (411.6 KB)
I dont know if it is the animation or the script
my friend made the animation
Here is the script:
script.Parent.MouseButton1Click:Connect(function()
local player = game:GetService(“Players”).LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local characterModel = workspace:FindFirstChild(character.Name… " Clone")
– Cloning the players avatar
characterModel.Animation.AnimationId = "rbxassetid://7183502456"
-- I already added an animation instance in the clone
local sad = characterModel.Humanoid:LoadAnimation(characterModel.Animation)
sad.Looped = false
sad.Priority = Enum.AnimationPriority.Action
sad:Play()
end)
The only thing different about each script is the animation id and local names.