How do I show models Name

  1. What do you want to achieve? I want to make it so it shows the model name “KetchupShed Drem” instead of the user

  2. What is the issue? The issue is that it shows my user instead of the model name
    (before i morphed)
    Screen Shot 2021-08-27 at 7.17.33 PM
    (after i morphed)
    Screen Shot 2021-08-27 at 7.18.31 PM

  3. What solutions have you tried so far? Ive tried changing stuff in the script but still doesnt work

heres the code

local pad = script.Parent
local characterName = "KetchupShed Drem"
local character = pad.Parent:WaitForChild(characterName)

local debounce = true
pad.Touched:Connect(function(obj)
	local plr = game.Players:GetPlayerFromCharacter(obj.Parent)
	if plr and debounce == true then
		debounce = false

		pad.BrickColor = BrickColor.new("Really red")

		local charClone = character:Clone()
		charClone.Name = plr.Name
		plr.Character = charClone

		local rootPart = charClone:FindFirstChild("HumanoidRootPart") or charClone:FindFirstChild("Torso")
		local plrRoot = obj.Parent:FindFirstChild("HumanoidRootPart") or obj.Parent:FindFirstChild("Torso")

		if rootPart and plrRoot then
			rootPart.CFrame = plrRoot.CFrame
		end

		charClone.Parent = workspace

		wait(1)

		pad.BrickColor = BrickColor.new("Lime green")
		debounce = true
	end
end)

Please help!

Thats because charClone.Name = plr.Name is setting the cloned model name to the players name… just change that so its like charClone.Name = "KetchupShed Drem"

1 Like

It works!! Thanks a lot!
(writing somethign here to post)

1 Like