
Key RequiredUniversal

-- R6 Leg Removal Script (Server-Side)
-- Posted by Spectravax on ScriptBlox.com
-- Description: Removes the legs of R6 characters for all players in a Filtering Enabled (FE) game.
-- Requirements: Place in ServerScriptService. Works only for R6 characters.
-- Note: Legs are permanently removed when a character spawns or respawns.
local Players = game:GetService("Players")
-- Function to remove legs from an R6 character
local function removeLegs(character)
if character:FindFirstChild("Humanoid") and character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
local leftLeg = character:FindFirstChild("Left Leg")
if leftLeg then
leftLeg:Destroy() -- Removes the left leg
end
local rightLeg = character:FindFirstChild("Right Leg")
if rightLeg then
rightLeg:Destroy() -- Removes the right leg
end
end
end
-- Handle new players joining the game
Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
removeLegs(character) -- Remove legs when character spawns
end)
end)
-- Handle players already in the game
for _, player in pairs(Players:GetPlayers()) do
if player.Character then
removeLegs(player.Character) -- Remove legs for existing characters
end
player.CharacterAdded:Connect(function(character)
removeLegs(character) -- Remove legs when character respawns
end)
endNo comments yet for this script.



