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

How would I remove parts from a player without killing them?

How can I remove every part of a player (except head) without killing them?

1 comment

0

Do you want the player to be invisible, or lose their arms + legs? Removing the torso, head, or root part would kill them, however you may make them invisible

1 answer

✓ Accepted answer

You can't really delete a player's torso without killing them.

This one will fake "remove" the body part. For example,

local Player = game.Players.LocalPlayer
local Character = Player.Character
for i, v in pairs(Character:GetChildren()) do
	if v:IsA("BasePart") and v.Name ~= "Head" then
		v.CanCollide = false --Makes part unable to be touched/collided with (makes it "walk through")
		v.Transparency = 1 --Makes body part invisible.
		v.Changed:connect(function()
			v.CanCollide = false
			v.Transparency = 1
		end)
	end
end

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