im trying to make a morph button that changes a players character into the rthro character without killing them, this is just the test script and when it executes, you teleport to where the original model is and die instanly. any suggestions?
local modle = workspace.RTHROT:GetChildren()
game.Players.PlayerAdded:Connect(function(plr)
wait(3)
for i,v in pairs(plr.Character:GetChildren())do
if v.Name =="Humanoid" then
else
v:Destroy()
end
end
for i,v in pairs(modle)do
if v.Name == "Humanoid" then else
local clone = v:Clone()
clone.Parent = plr.Character
end
end
end)

3 comments
also i tried to flip the for i,v in pairs loops around the other way too
just go to settings and choose rthro
i dont know how to make a morph (because i never needed to) and the way you are doing it is definitely wrong but heres some advice: SEARCH IT UP there are loads of tutorials