So I want this animation bundle to work in a game.
The script is in Server Script Service within an event function,
charEvent.OnServerEvent:Connect(function(Player, CharName)
if CharName == "Animate" then
local Script = Player.Character:FindFirstChild("Animate")
if Script then
Script.jump.JumpAnim.AnimationId = "rbxassetid://837011171"
Script.idle.Animation1.AnimationId = "rbxassetid://837011741"
Script.idle.Animation2.AnimationId = "rbxassetid://837011741"
Script.fall.FallAnim.AnimationId = "rbxassetid://837010685"
Script.swim.Swim.AnimationId = "rbxassetid://837012509"
Script.run.RunAnim.AnimationId = "rbxassetid://837009922"
Script.climb.ClimbAnim.AnimationId = "rbxassetid://837013990"
Script.walk.WalkAnim.AnimationId = "rbxassetid://837010234"
end
return
end
end
The problem is this doesnt work… and how should I fix it?