-
What do you want to achieve? I want to make it so it shows the model name “KetchupShed Drem” instead of the user
-
What is the issue? The issue is that it shows my user instead of the model name
(before i morphed)
(after i morphed)
-
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!