#How can i script annimation correctly

1 messages · Page 1 of 1 (latest)

robust swift
#

i feel like im using a wrong method to play annimations because its like there's a delay between the command and the annimation playing so am i doing smth wrong here?

here is basicly whats relevant to the situation

script.Parent.Equipped:Connect(function()
  local Anim = Instance.new("Animation")
  Anim.AnimationId = "rbxassetid://123359201920854"

  local AnimationTrack =   char.Humanoid.Animator:LoadAnimation(Anim)
  AnimationTrack:Play()
end)```
mossy fable
robust swift
mossy fable