Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local functions = {}
- 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
- local MotherModel = Instance.new("Model", game:GetService("Lighting"))
- -- DECLARING VARIABLES (Must use global variables because Lua is limited to 200 local variables)
- UnionOperation0 = Instance.new("UnionOperation")
- -- SETTING PROPERTIES
- UnionOperation0.CFrame = CFrame.new(-5.19999981, 5.00000477, -11.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- UnionOperation0.Color = Color3.new(1, 0, 0.74902)
- UnionOperation0.Material = Enum.Material.Neon
- UnionOperation0.Size = Vector3.new(6, 6, 6)
- UnionOperation0.Position = Vector3.new(-5.19999981, 5.00000477, -11.5)
- UnionOperation0.Transparency = 0.39999997615814
- UnionOperation0.Reflectance = 1
- UnionOperation0.BrickColor = BrickColor.new("Hot pink")
- UnionOperation0.Parent = MotherModel
- for i,v in pairs(functions) do
- spawn(function()
- pcall(v)
- end)
- end
- for i,v in pairs(MotherModel:GetChildren()) do
- v.Parent = workspace
- end
- MotherModel:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement