Help why wont this morph work?

This isn’t a solution and is off-topic, but I have a suggestion. On line 21 you used game.Players:GetChildren() for your for loop. I suggest using this instead for many reasons: game:GetService("Players"):GetPlayers()

Okay I changed it but do you also know how to fix this issue?

I put it in serverstorage I’m confused on what to do

I’ve never tried changing the players character, but I’m sure someone else has had this problem. Perhaps look elsewhere on the devforum for your problem? I’m sure someone has had it other than you.

You might be able to use a Server Script to clone that model, then parent it in the StarterPlayer but I’m not really sure if you need to do it on the client or not.

Changing a Player's Character Perhaps this may help?

It didn’t work with a server script I could try a remote event but idk

I’ve read it a bit couldn’t find too much but I thank you so much regardless you have any tips on what I could do?

Hm. Maybe can you PM me a photo of the custom character or post it here? Because depending on what it is you need to do different things. For example, if its a custom rig you will need to completely change all of the character’s meshes. However, if its something simple like a few accessories and certain clothing, you don’t need to change the character much. Also, make sure explorer is open so its easier for me/us.

I added it and it’s a custom character and I rigged it using a plugging and it works completely normal if I name it StarterCharacter and put it in StarterPlayer and the animation and stuff but it’s when I want to morph every player into it in a specific time whenever a round starts it doesn’t work it just becomes invisible

How are you trying to morph the character? Perhaps you could destroy all of the character’s physical parts and then add in the custom rig, as well as setting the base as the primary part.

I’m trying to morph everyone or every players character into the ant character like any normal morph by saying for example
player.Character = NewCharacter

but it won’t work and I already set the primarypart

Oh, that’s why. The player’s character is only readable, at least to my knowledge.

What do you mean what does that mean?

When something is readable, it means you can cannot edit it. Think of it like reading a book; you can view it’s data, but you can’t change it (technically you can, but you know what I mean).

Ah okay so is there anything I can do to change everyone’s character? Also I made a video to show it completely

Try this. Don’t destroy the character and replace it, destroy it’s physical instances and replace them.

How would I do that? Like destroy leftleg right leg, head, into I’m so confused

for _, inst in pairs(Character:GetChildren()) do
    if inst:IsA("Part") or inst:IsA("MeshPart") or inst:IsA("UnionOperation") then
        inst:Destroy()
    end
end

Something like that. Didn’t make that in studio, so the syntax may be wrong.

It just kills the player and how would I replace it then just put NewCharacter.Parent = inst?