Mesh rig/animation not functioning the same inside the game

The issue is that the animation is playing inside the game but it is not behaving the same as the string for the bow in game isnt moving.

local UserInputService = game:GetService("UserInputService")

-- Configuration
local RIG_NAME = "BowRig"
local AnimationID = "rbxassetid://83284754904585" 

local rig = workspace:WaitForChild(RIG_NAME, 10)
if not rig then warn("Rig not found!") return end

local controller = rig:FindFirstChildOfClass("AnimationController")
if not controller then
    controller = Instance.new("AnimationController", rig)
end

local animator = controller:FindFirstChildOfClass("Animator")
if not animator then
    animator = Instance.new("Animator", controller)
end

local anim = Instance.new("Animation")
anim.AnimationId = AnimationID
local track = animator:LoadAnimation(anim)

UserInputService.InputBegan:Connect(function(input, processed)
    if processed then return end
    if input.UserInputType == Enum.UserInputType.MouseButton1 then
        print("Bow animation playing!")
        track:Play()
    end
end)
1 Like

was this script made by ai. also what beta features do you have enabled

yes, but its a simple script anyways, its functioning correctly i dont belive its the scripts issue. I only have “Dragger QoL Improvements”, “live animation creator”, “Multi-Line command bar”, “Reimport”, “User Provided Default Instances”.