I had this same problem a while ago and I ended up creating the same import system for Avatar’s R6
game.Players.PlayerAdded:Connect(function(Client)
Client.CharacterAdded:Connect(function(Character)
if (Character:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R15) then
repeat task.wait()
Character:FindFirstChildOfClass("Humanoid").RigType = Enum.HumanoidRigType.R6
Client:LoadCharacter()
until Character:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R6
end
end)
end)
As the server script runs much faster than the Client, so I guess you won’t have any problems
Seems like this is caused due to attempting to playtest on a bad ping, and the engineers for some reason made R15 the default fallback on rendering characters, but since this is R6 and it’s deprecated it won’t get fixed anytime soon.
for some reason this also happens to me as well and im confused on why. is it a bug or something? i tested in other places and i had no problem but creating new places causes this to happen
Note that using this method, the character doesn’t keep any StarterCharacterScripts, which could cause issues. Implementing a function like the one below should solve most problems though:
local players = game:GetService("Players")
local starterPlayer = game:GetService("StarterPlayer")
local function transferStarterScripts(character)
local starterScripts = starterPlayer.StarterCharacterScripts:GetChildren()
-- Remove this line if you don't use an Animate script in StarterCharacterScripts
character:FindFirstChild("Animate"):Destroy()
for _, script in pairs(starterScripts) do
local scriptClone = script:Clone()
scriptClone.Parent = character
end
end
for _, player in pairs(players:GetChildren()) do
if player.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
local humanoidDescription = players:GetHumanoidDescriptionFromUserId(player.CharacterAppearanceId)
local r6Character = players:CreateHumanoidModelFromDescription(humanoidDescription, Enum.HumanoidRigType.R6)
r6Character:SetPrimaryPartCFrame(player.Character.PrimaryPart.CFrame)
r6Character.Name = player.Name
player.Character = r6Character
r6Character.Parent = workspace
transferStarterScripts(r6Character)
end
end
Having a StarterCharacter inside of StarterPlayer also seems to fix it.
is this the reason all the animations stop working when I join the game from roblox and not roblox studio?
yes, I have also encountered this bug, especially when I create a new game and set it to R6, I stopped encountering it for some time but now I’m getting this bug where all animations just don’t work when I enter the game from the roblox app and not roblox studio. Maybe it’s just me… and my code…
can we get an update? this issue seems trivial to fix (atleast, to me, but im not experienced with this bug) considering one can just add a script to fix it, but is really annoying
This issue occasionally happens to me in one of my projects (and yes team create is enabled, it’s owned by a group), It doesn’t completely break it, however it’s still annoying to restart the play test