GOD MOE TST2

public
vxpreen Jul 04, 2024 Never 47
Clone
Plaintext paste1.txt 35 lines (27 loc) | 1014 Bytes
1
-- loadstring(game:HttpGet("https://pastecode.dev/raw/nj4aaihr/paste1.txt"))()
2
3
local characterName = "mmkyedcr" -- Your character's name
4
5
local function preventDeletion(forceField)
6
local originalDestroy = forceField.Destroy
7
local originalRemove = forceField.Remove
8
9
forceField.Destroy = function()
10
-- Do nothing, prevent deletion
11
end
12
13
forceField.Remove = function()
14
-- Do nothing, prevent deletion
15
end
16
end
17
18
-- Function to monitor the ForceField
19
local function monitorForceField()
20
local character = workspace:WaitForChild(characterName)
21
local forceField = character:WaitForChild("ForceField")
22
23
-- Prevent initial deletion
24
preventDeletion(forceField)
25
26
-- Monitor for any new ForceField and prevent its deletion
27
character.ChildAdded:Connect(function(child)
28
if child.Name == "ForceField" then
29
preventDeletion(child)
30
end
31
end)
32
end
33
34
-- Run the monitoring function
35
monitorForceField()