-
What do you want to achieve? I want to have my animation playing how it supposed to be playing.
-
What is the issue? When playing it in game, it does work but in a weird way
This is how it’s supposed to be
(solution found)
and that’s how it plays in game
(Solution found)
- What solutions have you tried so far? I’ve tried to look out topics but nothing helped.
This is my code
gun.Activated:Connect(function()
local plr = game.Players.LocalPlayer
local hum = plr.Character:FindFirstChild("Humanoid")
if hum then
local RightArm = plr.Character["Right Arm"]
local Animator = hum:FindFirstChild("Animator")
local shootAnim = Instance.new("Animation")
shootAnim.Parent = RightArm
shootAnim.AnimationId = "rbxassetid://14432803618"
shootAnimTrack = Animator:LoadAnimation(shootAnim):Play()
end
end)
Thanks, for reading.