local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local player = Players.LocalPlayer local SitEmote = ReplicatedStorage:WaitForChild("SitEmote") local Emotes = script.Parent:WaitForChild("Emotes") local SitAnimation = Emotes:WaitForChild("SitEmote") local function SitEmoteFired() print("signal received") SitAnimation.AnimationId = "rbxassetid://1414788779" local animation = player.Character.Humanoid:LoadAnimation(SitAnimation) animation.KeyframeReached:connect(function() print('Working') end) animation:Play() end SitEmote.OnClientEvent:Connect(SitEmoteFired)
localscript inside StarterPack
I get an error in the game (not in studio)
Animation (an animation link) failed to load in "Players.RedcommanderV2.Backpack.SitEmote.Animation". Animation failed to load