Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

The clone of my character doesnt appear?

Asked by 4 years ago
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

0
Maybe you need to use CFrame of Character.HumanoidRootPart? Gulgazar 65 — 4y
0
so u are cloning the character and placing it in the mouse cframe? Zero_Tsou 175 — 4y
0
What is script.Parent? namespace25 594 — 4y

2 answers

Log in to vote
0
Answered by 4 years ago
Edited 4 years ago

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

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

0
still will appear on the client side 0msh 333 — 4y
Ad
Log in to vote
0
Answered by 4 years ago
clone.HumanoidRootPart.CFrame = CFrame.new(mouse.Hit)

try this instead of line 12

0
Hm, doesnt work queue0I 5 — 4y

Answer this question