Im trying to play my animation and it wont play. Even thought I own the animation. I get no error messages and I own the animation but it wont play no matter what I do. I’ve looked at dev forum posts and tried fixes but nothing has worked.
local player = game.Players.LocalPlayer
local char = player.Character
local mouse = player:GetMouse()
local remote = game.ReplicatedStorage.Remotes:WaitForChild("Replicate")
local animation = char.Humanoid:LoadAnimation(game.ReplicatedStorage.Assests.Animations.FireFist)
local UIS = game:GetService("UserInputService")
local G = require(game.ReplicatedStorage.Modules.GlobalFunctions)
UIS.InputBegan:Connect(function(input,gpe)
if gpe then return end
if input.KeyCode == Enum.KeyCode.F then
animation:Play()
end
end)
UIS.InputEnded:Connect(function(input,gpe)
if gpe then return end
if input.KeyCode == Enum.KeyCode.F then
animation:Stop()
remote:FireServer(mouse.Hit.Position)
end
end)
If the animation is designed for an R6 character and you are currently using an R15 character, the animation will not be compatible and will not play correctly.
To resolve this issue, please follow these steps:
Open Game Settings.
Navigate to the Avatar tab.
In the Avatar type section, select “R6” as your Avatar type.
By changing your Avatar type to R6, you should be able to play the intended animation!