Hi, so I made a script (server script for now) to change the starter character. It works, but the character isn't animated. Can someone tell me what to do with the animation script inside my custom character, (or how to make the character animated in general) since I use a script to change the character?
This is the server script I use to change the character:
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(Player)
local Character = Player.Character or Player.CharacterAdded:Wait()
local name = Character.Name
Character:Destroy()
local newchar = game.ServerStorage.DOGTHING:Clone()
newchar.Parent = workspace
newchar.Name = name
Player.Character = newchar
game.Players.CharacterAutoLoads = false
end)

1 comment
I already rigged and animated my character. If i put it straight into StarterCharacter and put the animate script into StarterCharacterScripts, it works fine. The problem is I want multiple characters for my game. I have to use a script to change the character. For some reason, even though the character has the same animation script, it's not working.