My game is FE so this code only works in studio
animScript = game.Players.LocalPlayer.Character.Animate animScript.toolnone.ToolNoneAnim.AnimationId = "rbxassetid://1503378996"
Is there any way to make this work when my game is FE?
Well, you start by getting an animate script from the character by hitting play, copying the animate script from the explorer, and pasting it into game.StarterPlayer.StarterCharacterScripts
Then, inside at the top, type this code:
for i, v in pairs(script.Parent:GetChildren()) do if v.Name == 'Animate' and v ~= script then v:Destroy() end end
this will remove the original animate.
then change the toolNone
animation id from the animate script, then open the animate, and then press Ctrl + F
to find code, find toolnone
and change the id to the id you have.