Hello everyone,
I’m currently working on a game in Roblox and I’m trying to change the player’s model during gameplay. I’ve tried a few different methods, but I haven’t been able to get it to work properly. Here’s what I’ve tried so far:
local model = workspace.midouzi:Clone() -- target model
local player = game.Players:GetChildren()[1]
model:PivotTo(player.Character:GetPivot())
model.Parent = workspace
player.Character = model
The above code works but it requires some additional camera settings and, I have many custom elements in my character, I want to keep them.
I’ve also tried using ReplaceBodyPartR15, LoadCharacter, and AddPersistentPlayer, but none of them have worked for me so far.
Does anyone have any suggestions on how I can change the player’s model without cloning and changing the parent? I’m open to any reliable method.
Thank you in advance for your help!
Does anyone have any suggestions on how to achieve this? I’m open to using any method that works reliably.
Thanks in advance for your help!