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 5 years ago
01script.Parent.Activated:Connect(function()
02    local p = game.Players.LocalPlayer
03    local mouse = p:GetMouse()
04    local function cloneCharacter(character)
05        character.Archivable = true
06        local fake = character:clone()
07        character.Archivable = false
08        return fake
09    end
10    local clone = cloneCharacter(p.Character)
11    clone.Parent = workspace
12    clone.CFrame = CFrame.new(mouse.Hit)
13end)

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 — 5y
0
so u are cloning the character and placing it in the mouse cframe? Zero_Tsou 175 — 5y
0
What is script.Parent? namespace25 594 — 5y

2 answers

Log in to vote
0
Answered by 5 years ago
Edited 5 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 — 5y
Ad
Log in to vote
0
Answered by 5 years ago
1clone.HumanoidRootPart.CFrame = CFrame.new(mouse.Hit)

try this instead of line 12

0
Hm, doesnt work queue0I 5 — 5y

Answer this question