This red-marked model name dogs is a morph
And It gets cloned and turns into players morph, but the name of this model doesn’t change to the player’s name even though it is representing players as a different morph.
I am using this method to morph:
local model = script.Parent
game.ReplicatedStorage:WaitForChild("Test").OnServerEvent:Connect(function(player)
local oldCharacter = player.Character
local morphModel = model:FindFirstChild("Dogs")
local newCharacter = morphModel:Clone()
newCharacter.HumanoidRootPart.Anchored = false
newCharacter:SetPrimaryPartCFrame(oldCharacter.PrimaryPart.CFrame)
player.Character = newCharacter
newCharacter.Parent = workspace
end)
But I need the morphed model name changed to the main player name whenever a player morphs into this model.