Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Part0 = Instance.new("Part")
- Part0.Parent = mas
- Part0.Material = Enum.Material.Glass
- Part0.BrickColor = BrickColor.new("Hot pink")
- Part0.Reflectance = 0.5
- Part0.Transparency = 0.40000000596046
- Part0.Shape = Enum.PartType.Ball
- Part0.Size = Vector3.new(3.07000327, 3.07000327, 3.07000327)
- Part0.CFrame = CFrame.new(-2.7750001, 4.96000671, -11.4200001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part0.BottomSurface = Enum.SurfaceType.Smooth
- Part0.TopSurface = Enum.SurfaceType.Smooth
- Part0.Color = Color3.new(1, 0, 0.74902)
- Part0.Position = Vector3.new(-2.7750001, 4.96000671, -11.4200001)
- Part0.Color = Color3.new(1, 0, 0.74902)
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement