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

Astral Projection Cloning not working?

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

✓ Accepted answer

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

Character.Archivable = true

1 comment

0

thank you :D

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