My animation isn’t loading on the server although I think it should. Basically how it works is that the morphs have the default r6 animation script in them, but that doesn’t show on the server for some reason. If anyone can give me any recommendations eg. a better way to morph characters or a way to make the animations show on the server, please do so.
function loadCharacter(plr, data)
local char = plr.Character
local newchar = chars[data]:Clone()
newchar.Name = plr.Name
plr.Character = newchar
newchar.Parent = workspace
plr.Race.Value = newchar.Name
-- SERVER SCRIPT
local characterModel = yourcharactermodelhere; -- variable containing the character model (in your case, the r6 morph)
local hum = characterModel:FindFirstChild("Humanoid"); -- we look for humanoid inside the morph and assign it to the hum variable
Instance.new("Animator", hum) -- We call Instance.new(), first argument being the Animator instance you need in order to replicate locally played animations to server, second argument being the humanoid so the Animator instance is put inside the Humanoid
Once an Animator is present inside the Humanoid, any locally played animation on that character model will replicate to the Server without any issues!