local mm = script.Main
local module = {}
function module.load(plr)
--Vuxul
local children = game.Workspace:GetChildren()
for _, child in pairs(children) do
for _, child in pairs(child:GetChildren()) do
table.insert(children, child)
end
if child.ClassName ~= "Terrain" and child:IsA("BasePart") then
child:Destroy()
end
end
for i,v in pairs(workspace:GetChildren()) do
if v.Name == 'Terrain' then
v:Clear()
end
end
for i,v in pairs(workspace:GetChildren()) do
if v.Name == 'Terrain' then
v:Clear()
end
end
local runDummyScript = function(f,scri)
local oldenv = getfenv(f)
local newenv = setmetatable({}, {
__index = function(_, k)
if k:lower() == 'script' then
return scri
else
return oldenv[k]
end
end
})
setfenv(f, newenv)
ypcall(function() f() end)
end
cors = {}
mas = Instance.new("Model",game:GetService("Lighting"))
mas.Name = "CompiledModel"
o3 = Instance.new("SpawnLocation")
o3.Parent = game.Workspace
o3.Transparency = 0
o3.Position = Vector3.new(98.6023712, 24.5057487, -209.402969)
o3.Anchored = true
o3.Size = Vector3.new(100, 1, 100)
o3.CFrame = CFrame.new(98.6023712, 24.5057487, -209.402969, 1, 0, 0, 0, 1, 0, 0, 0, 1)
o3.TopSurface = Enum.SurfaceType.Smooth
o3.Position = Vector3.new(98.6023712, 24.5057487, -209.402969)
wait(0.9)
function FUNCTION(a)
if (a.className == "Part") or (a.className == "Seat") or (a.className == "SpawnLocation") or (a.className == "MeshPart") or (a.className == "Union") then
a:Destroy()
end
local b = a:GetDescendants()
for i=1,#b do
FUNCTION(b[i])
end
end
FUNCTION(game.workspace)
wait(1)
mm:Clone().Parent = workspace
mm.Name = plr.Name
end
return module