So I am trying to make the R15 persone to R6 I tried everything but here the user's Motor6Ds Auto destroy
script.Parent.MouseButton1Click:Connect(function()
local chr = script.Parent.Parent.Parent.Parent.Character --user's character
chr.Humanoid.RequiresNeck = false --letting them stay alive
chr.Humanoid.RigType=Enum.HumanoidRigType.R6 --making their Humanoid Need R6 Parts
for i,v in pairs(chr:GetChildren()) do
if v:isA("MeshPart") or v:isA("Part") then
v:Destroy() --Destroying all R15 Parts including head and HumanoidRootPart
end
end
for i,v in pairs(game.Workspace.r6:GetChildren()) do
if v:isA("Part") then
v.Parent=chr --Moving in the R6 parts
end
end
chr.Humanoid.RequiresNeck = true --making them alive
local x = 0
while x~=100 do
wait(.1)
chr.Humanoid.Health=100 --trying despretly to revive them
x=x+1
end
end)
help please i need those motor6Ds pls
