Hey, so I want my script to play an animation on the person’s character once they spawn in
But I’ve run into issues with playing the animation
local plrs = game:GetService("Players")
local rp = game:GetService("ReplicatedStorage")
local cam = workspace.CurrentCamera
plrs.PlayerAdded:Connect(function(plr)
print("waitig")
repeat wait() until plr.Character
print("running")
print(plr.Character:GetFullName())
plr.Character:WaitForChild("Humanoid"):LoadAnimation(script.startingcut)
end)
waiting and running do print, as well as the character, so I’m sure that line is being reached
But the animation just doesn’t play
I’ve tried;
- Reuploading the animation 3 times
- Changed the avatar type to R6 (the animation is R6)
- Changed the location of the animation
- Tried doing it both on server and client side
- I’ve tried removing the debug stuff
- Changing games entirely
- Making sure the animation is uploaded to my account (the game is on my account)
- Changing the location of the script
- Loading the animation to the Animator directly
- Tried using FindFirstChild instead of WaitForChild
Everything I came up with didn’t change the outcome. I’m honestly out of ideas
It’d be nice if anybody could find a solution to my problem or at least tell me if I’m doing anything wrong
and before anybody asks, yes the animation object is set up correctly as far as I am aware
