Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --By Rufus14 lol
- --Converted with ttyyuu12345's model to script plugin v4
- wait()
- local function scann(part)
- for i,v in pairs(part:GetChildren()) do
- scann(v)
- if v.ClassName == "Part" then
- v:destroy()
- end
- if v.ClassName == "Humanoid" then
- v.Health = 0
- end
- if v.ClassName == "Seat" then
- v:destroy()
- end
- if v.ClassName == "SpawnLocation" then
- v:destroy()
- end
- if v.ClassName == "MeshPart" then
- v:destroy()
- end
- if v.ClassName == "Sound" then
- v:destroy()
- end
- end
- end
- scann(workspace)
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement