Universal Script 📌
2.7k Views
208 Executions

Simple Delete body mover

Universal Script 📌
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Deletes bodymovers that are currently in the workspace Simple script

View Raw
local UserInputService = game:GetService("UserInputService")

local function removeBodyMovers(target)
    for _, descendant in ipairs(target:GetDescendants()) do
        if descendant:IsA("BodyMover") then
            descendant:Destroy()
        end
    end
end


UserInputService.InputBegan:Connect(function(input, gameProcessed)
	if gameProcessed then return end
	if input.KeyCode == Enum.KeyCode.M  then
	    removeBodyMovers(workspace)
	end
end)



Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

Tags

More universal scripts

See all
Script hub
2.0M
627.0k
Bumped 57 minutes ago
Key System
Script hub
202.4k
2.3M
Bumped 3 hours ago
Key System

Script hub

#20 this week

Verified script badgeAirflow HUB

Universal Script 📌
57.4k
270.5k
Bumped 4 hours ago
Key System
Script hub
2.2M
2.5M
Bumped 8 hours ago
Key System
Universal Script 📌
33.4k
480.5k
Bumped 8 hours ago
Script hub
4.0M
2.7M
Bumped 8 hours ago

Script hub

Hall of Fame #5

KeylessVerified script badge[KEYLESS] Moondiety Script | 30+ supported Games