script.Parent.Activated:Connect(function()
local p = game.Players.LocalPlayer
local mouse = p:GetMouse()
local function cloneCharacter(character)
character.Archivable = true
local fake = character:clone()
character.Archivable = false
return fake
end
local clone = cloneCharacter(p.Character)
clone.Parent = workspace
clone.CFrame = CFrame.new(mouse.Hit)
end)
okay,so i might be dumb but I can't figure out where the mistake is

3 comments
Maybe you need to use CFrame of Character.HumanoidRootPart?
so u are cloning the character and placing it in the mouse cframe?
What is script.Parent?