Animations dont play after selecting a character

let me explain shortly

i make character selection but when i click a character they have no animation
no, i cant get them out of replicatedstorage, that will break the selection


please help im in great pain

1 Like

does the OutPut say’s anything?

ye but i dont think its about the animation

normally it says that Roblox failed to load the animation, but that doesn’t seem to be the case here.

What about the characters? did you test them as a StarterCharacter? maybe they are welded together

yes, they work fine when testing them as startercharacter

proof

image
image
image

Ok well, what about the scripts? maybe there is something that doesn’t get copied from the characters, like the animation maybe.
if that’s not the case then maybe try and create another script that insert a new animation to the character every-time it changes.
another possible thing is a script that stops/prevents the animation from working, so maybe try and test it in a new baseplate alone and away from other scripts.

dude i dont know scripting so i dont know what you mean is it ok if i send you the scripts and you find the thing that prevents animation and stuff

i took everything from a video and edited stuff so ye thats how i did the selecton thing btw

I ain’t much of a scripter but I can read scripts, you can send it if you want but i can’t guarantee you a solution

well but i think you can atleast find the thing?

the script loading characters
   local	Characters = game:GetService("ReplicatedStorage").Characters
local	Event = game:GetService("ReplicatedStorage").ChooseCharacter

Event.OnServerEvent:connect(function(player,character)
	if character == "PlayerCharacter" then
		player:LoadCharacter()
	else
		local	char = Characters[character]:Clone()
		char.Name = player.Name
		player:LoadCharacter()
		player.Character = char
		player.Character.Parent = workspace
	end
end)
the script when you click the character
local	Characters = game:GetService("ReplicatedStorage").Characters
local	Event = game:GetService("ReplicatedStorage").ChooseCharacter

for i,v in pairs (script.Parent:GetChildren()) do
	if v:IsA("TextButton") or v:IsA("ImageButton") then
		v.MouseButton1Click:connect(function()
			if Characters:FindFirstChild(v.Name) then
				Event:FireServer(v.Name)
			elseif v.Name == "PlayerCharacter" then
				Event:FireServer("PlayerCharacter")
			end
		end)
	end
end

I don’t see why “:GetService” is necessary, maybe that’s what caused it to be like that.
try replacing where it says:

local Characters = game:GetService("ReplicatedStorage").Characters
local Event = game:GetService("ReplicatedStorage").ChooseCharacter

with:

local Characters = game.ReplicatedStorage.Characters
local Characters = game.ReplicatedStorage.ChooseCharacter

In both scripts and see if ti works

nope, doesnt work too. also its ok if you dont have any more solutions at this point i think im tiring you

It’s ok, I won’t have replied to you if it was tiring, anyways you could try something like how I told you before, which is inserting the animation to the character with another script, try this as the last solution

tried, doesnt work. do you think should i switch to a new character selector?

I can’t give you a straight answer, altho I have some scripting knowledge, it’s not as much, but you could try that, if it doesn’t work then it’s probably something that has to do with Roblox’s service or a studio bug, which is most likely not gonna happen.

yeah im definitely changing the character selection thanks for helping doe

1 Like

found the fix. i inserted a animate script thing (again, thanks for helping)

1 Like

Try using Local Script for animations. Instead of server scripts.

If your problem still occurs, you can disable the Animation script then re-enabled the Animation Script after some delay of 0.5 or 1 seconds. Make sure that the animation script is local if not then input lag might happen.

hey sorry but i already found a fix