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

Astral Projection Cloning not working?

Asked by 7 years ago

Hey, so ... I'm working on an Astral Projection script but when it comes to the character cloning, it doesn't work! my goal is for the character to clone (then platform stand) while the actual character is moved into CurrentCamera in the Astral form. Could someone please point me in the right direction? Thanks, ~Fin

Player = game.Players.LocalPlayer 
Character = Player.Character 
Humanoid = Player.Character:FindFirstChild("Humanoid")
Mouse = Player:GetMouse() 
Enabled = true

Mouse.KeyDown:connect(function(key) 
if Enabled == false then 
return end
key = key:lower()
 if key == "t" then 
Enabled = false 

local clonedCharacter = Character:Clone()
clonedCharacter.Parent = workspace
clonedCharacter:MakeJoints()


        end
end)


Mouse.KeyUp:connect(function(key) 
if Enabled == true then 
return end
 if key == "t" then 
Enabled = true  

        clonedCharacter:Destroy()

    end
end)

1 answer

Log in to vote
0
Answered by
Tkdriverx 514 Moderation Voter
7 years ago

You can't clone the character because it's not archivable. You would have to make it archivable before cloning it.

Character.Archivable = true
0
thank you :D FinickOdre123 6 — 7y
Ad

Answer this question