Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

The clone of my character doesnt appear?

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

0

Maybe you need to use CFrame of Character.HumanoidRootPart?

0

so u are cloning the character and placing it in the mouse cframe?

0

What is script.Parent?

2 answers

You must use a RemoteEvent!!! Instances made Localy will not work

If I helped, please mark my answer as correct ;)

1 comment

0

still will appear on the client side

clone.HumanoidRootPart.CFrame = CFrame.new(mouse.Hit)

try this instead of line 12

1 comment

0

Hm, doesnt work

This discussion is preserved as it was. New answers, comments, and votes are closed.