I made a Hands Animation on a model made of bones, exported it and put set it to run in a localscript. But it doesn't play for some reason, it even prints "Shot Played" correctly. Pls Help
RS = game:GetService("RunService")
local plr = game.Players.LocalPlayer
local cam = workspace.CurrentCamera
local mouse = plr:GetMouse()
local Hands = script.Parent.Hands
Hands.Parent=plr.Character
Shot = Hands.AnimationController:LoadAnimation(script.Parent.Data.Shot)
mouse.Button1Down:Connect(function()
Shot:Play() print("Shot Played")
end)
while true do
RS.RenderStepped:Wait()
Hands.armmesh.CFrame = cam.CFrame*CFrame.new(0,-1,-2)
end

3 comments
Is this a script or a local script and where you put it
This is a local script and I put it in StarterGui
make sure the animation has priority Action when exporting and that you animated it for correct rig (R6 won't play for R15 or R15 won't play for R6 i think)