Script below is localscript.
-- Variables --
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RemoteStorage = ReplicatedStorage:WaitForChild("RemoteEvents")
local Remote = RemoteStorage:WaitForChild("ForwardDashEvent")
local plr = game.Players.LocalPlayer
local Char = plr.Character or plr.CharacterAdded:Wait()
local userinput = game:GetService("UserInputService")
-- Settings --
local Debounce = true
local pressed = time()
local waitTime= .25
local Animation = Instance.new("Animation")
Animation.AnimationId = 'rbxassetid:2589911948'
userinput.InputBegan:connect(function(Input, IsTyping)
if IsTyping then return end
if Input.KeyCode == Enum.KeyCode.W and Debounce then
if time() - pressed < waitTime and Debounce then
Debounce = false
local LoadAnimation = Char.Humanoid:LoadAnimation(Animation)
LoadAnimation:Play()
Remote:FireServer("Dash")
wait(1)
Debounce = true
else
end
pressed = tick()
end
end)
The Output is keep saying Animation "rbxassetid:2589911948" failed to load in "Animation.AnimationId": Animation failed to load two times every time I start the script. Can you give me the solution?

2 comments
That is because you do not own the animation. The animation needs to be yours.
rbxassetid://2589911948 ... you have the wrong assetID