Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Any other way to apply multiple starter characters?

Asked by
Rheines 661 Moderation Voter
5 years ago

Sorry if I do not have code with me currently.

I built separate rigs for my game with its own attachments and Motor6Ds, applying unique animations to these rigs. A player may select different classes at the start of the game, which corresponds to each rig.

As I know it right now, StarterPlayer allows only one StarterCharacter model for the rig when a player spawns, disallowing multiple rigs for different classes.

A solution/pseudocode I had in mind is to disable CharacterAutoLoads, then to destroy the current StarterCharacter in StarterPlayer, then copying the suitable rig for the player from ServerStorage unto StarterPlayer. After this, I will call LoadCharacter, and the player will respawn with the correct rig.

Is this the only solution? Is there any better way to apply this? What happens when multiple people die at the same time? I don't request for a code, but the methods or the services I need to use to achieve this.

0
Just set the character property to the new character User#24403 69 — 5y
0
i would think IDs DeceptiveCaster 3761 — 5y
0
Set unique parameters to each rig, and set the model depending on the player's choices upon class selection? StateSector 8 — 5y
0
No, literally, set the character property. client.Character = model User#24403 69 — 5y
0
Not literally the model in server storage though, you will need to clone() it each time, or it will only work once per character style. EmilyBendsSpace 1025 — 5y

Answer this question