What Ways Could I Use To Turn Players Into a Different Model(Creature)?

  1. What do you want to achieve? Keep it simple and clear!
    What I am looking to achieve is being able to make Characters spawn in as different creatures when ever I would like them too, not the starter player thing. I have seen it happen before in those animal games and a few zombie games. This is very crucial for what I am trying to achieve because when you die you become one of the bad guys and you have to turn into those creatures. I have not been able to find any information online that was viable so I had to make a post.
  2. What is the issue? Include screenshots / videos if possible!
    The issue is the only way I know how to do this is through Starter Player, but it is not viable because there are times where the creature has to be different and they can’t all be the same and also I don’t want them to spawn in as a creature instantly.
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I tried looking in the developer Hub and I could not find anything to my interest. I also tried looking only through different websites.

Unfortunately I do not have a script to show you, I am just looking for someone to locate to the right direction because im not sure what I can do to script this efficient.

4 Likes

Use one of the character rigs that you would place in the StarterPlayer, except instead of putting it there, once you want your player to transform just set Player.Character to a clone of that rig.

1 Like

Would you have to do this through the server?. I just tried setting it locally and it did look like it worked, but I wasn’t able to move my actual character nor was I able to move the character I set it to. My camera was also still set to my actual character

This must be set from the server, the character model must be cloned and it must already contain a Humanoid.

This is what I did to test it based of what you told me. (Note it got a little closer this time. I was able to control the other character and my actual character disappeared, but it keeps putting the camera back to the position and orientation it was before the code took effect):

game.Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
	wait(5)
	local New_Character = workspace.Dummy:Clone()
	New_Character.Parent = workspace
	Player.Character = New_Character
	print("done")
end)
end)

I know I don’t copy and paste correctly. Sorry for that. So this is a function you can use to apply the description of another character to yours or any targeted player. What I suggest is to

  1. Create a series of Roblox accounts

  2. Customize those avatars to exactly what you want.

  3. Use that as a library of characters your players can be changed into.

  4. There were some issues a year ago. My fix was to simply to run the call twice. This will fix any load glitches.

  5. There is great documentation with this in Roblox.
    HumanoidDescription | Documentation - Roblox Creator Hub

    – Stop automatic spawning so it can be done in the “PlayerAdded” callback
    game.Players.CharacterAutoLoads = false

    local function onPlayerAdded(player)
    local humanoidDescriptionForOutfit = game.Players:GetHumanoidDescriptionFromOutfitId(480059254)
    – Spawn character with the HumanoidDescription
    player:LoadCharacterWithHumanoidDescription(humanoidDescriptionForOutfit)
    end

    – Connect “PlayerAdded” event to “onPlayerAdded()” function
    game.Players.PlayerAdded:Connect(onPlayerAdded)

1 Like