Godzilla Tranformation Tool

In the script of the tool
It doesn’t work
the script doesn’t create a meshPart
help me please
`local tool = script.Parent

tool.Activated:Connect(function()
local m = Instance.new(“MeshPart”)
m.Parent = tool.Parent:FindFirstChild(“HumanoidRootPart”)
m.Position = tool.Parent:FindFirstChild(“HumanoidRootPart”)

end)`

you need to weld it to the humanoid root part, as well as set the mesh of it

Maybe you want this?

local tool = script.Parent
tool.Activated:Connect(function ()
    local m = Instance.new("MeshPart") -- create the meshpart
    local hrp = tool.Parent:FindFirstChild("HumanoidRootPart") -- locate the hrp
    m.Position = hrp.Position -- you need hrp.Position, not just hrp
    m.Parent = hrp
    local weld = Instance.new("WeldConstraint") -- weld it!
    weld.Part0 = hrp
    weld.Part1 = m
    weld.Parent = m
end)

you forgot setting the mesh id and texture

Thank you very much for helping :heart: