Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Created with PenguinAnonymous's compiler
- --PenguinAnonymous is not responsible for damages caused to your game
- --This plugin does not remove things
- --PenguinAnonymous cannot be held resonsible for manual deletion for the purpose of testing
- --Keep in mind, any items that cause errors in compilation will be skipped and documented within the last line of the disclaimer comments
- --Thank you for using my plugin and enjoy :)
- --It is free to use
- --If you use this plugin to create your own, please give me credit
- --Z_V edited my plugin to look like his own and published it without giving me credit, and that makes me very angry
- --Errors: UnionOperation
- 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"
- o1 = Instance.new("Model")
- o2 = Instance.new("Model")
- o3 = Instance.new("Script")
- o5 = Instance.new("Sound")
- o6 = Instance.new("ClickDetector")
- o8 = Instance.new("Sound")
- o9 = Instance.new("Part")
- o10 = Instance.new("Part")
- o11 = Instance.new("Part")
- o12 = Instance.new("Part")
- o13 = Instance.new("Part")
- o1.Name = "locker, can open"
- o1.Parent = mas
- o2.Name = "wooden door2"
- o2.Parent = o1
- o3.Parent = o2
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- local Door=script.Parent
- local A=Door.A
- local C=Door.C
- function Open()
- A.Open:Play()
- A.ClickDetector.MaxActivationDistance=0
- A.Transparency=1
- A.CanCollide=false
- C.Transparency=0
- C.CanCollide=false
- wait(.05)
- A.Transparency=1
- A.CanCollide=false
- C.Transparency=0
- C.CanCollide=true
- wait(2)
- C.Close:Play()
- A.ClickDetector.MaxActivationDistance=0
- A.Transparency=0
- A.CanCollide=false
- C.Transparency=1
- C.CanCollide=false
- wait(.05)
- A.Transparency=0
- A.CanCollide=true
- C.Transparency=1
- C.CanCollide=false
- A.ClickDetector.MaxActivationDistance=10
- end
- A.ClickDetector.MouseClick:connect(Open)
- end,o3)
- end))
- o5.Name = "Open"
- o5.Parent = mas
- o5.SoundId = "rbxassetid://212719873"
- o5.Volume = 0.40000000596046
- o6.Parent = mas
- o6.MaxActivationDistance = 10
- o8.Name = "Close"
- o8.Parent = mas
- o8.SoundId = "rbxassetid://212711664"
- o8.Volume = 0.40000000596046
- o9.Parent = o1
- o9.Material = Enum.Material.Metal
- o9.BrickColor = BrickColor.new("Dark stone grey")
- o9.Position = Vector3.new(2.52558517, 3.95444536, 53.311409)
- o9.Rotation = Vector3.new(0, 40, 0)
- o9.Anchored = true
- o9.Size = Vector3.new(0.200000003, 6, 2.79999995)
- o9.CFrame = CFrame.new(2.52558517, 3.95444536, 53.311409, 0.76604414, 0, 0.642788053, 0, 1, 0, -0.642788053, 0, 0.76604414)
- o9.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o9.Position = Vector3.new(2.52558517, 3.95444536, 53.311409)
- o10.Parent = o1
- o10.Material = Enum.Material.Metal
- o10.BrickColor = BrickColor.new("Dark stone grey")
- o10.Position = Vector3.new(3.53374863, 6.8544488, 52.334877)
- o10.Rotation = Vector3.new(0, 40, 0)
- o10.Anchored = true
- o10.Size = Vector3.new(2.60000014, 0.200000003, 2.60000014)
- o10.CFrame = CFrame.new(3.53374863, 6.8544488, 52.334877, 0.76604414, 0, 0.642788053, 0, 1, 0, -0.642788053, 0, 0.76604414)
- o10.BottomSurface = Enum.SurfaceType.Smooth
- o10.TopSurface = Enum.SurfaceType.Smooth
- o10.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o10.Position = Vector3.new(3.53374863, 6.8544488, 52.334877)
- o11.Parent = o1
- o11.Material = Enum.Material.Metal
- o11.BrickColor = BrickColor.new("Dark stone grey")
- o11.Position = Vector3.new(4.67049789, 3.95444536, 51.5116043)
- o11.Rotation = Vector3.new(0, 40, 0)
- o11.Anchored = true
- o11.Size = Vector3.new(0.200000003, 6, 2.79999995)
- o11.CFrame = CFrame.new(4.67049789, 3.95444536, 51.5116043, 0.76604414, 0, 0.642788053, 0, 1, 0, -0.642788053, 0, 0.76604414)
- o11.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o11.Position = Vector3.new(4.67049789, 3.95444536, 51.5116043)
- o12.Parent = o1
- o12.Material = Enum.Material.Metal
- o12.BrickColor = BrickColor.new("Dark stone grey")
- o12.Position = Vector3.new(4.43366623, 3.95444536, 53.4073563)
- o12.Rotation = Vector3.new(0, 40, 0)
- o12.Anchored = true
- o12.Size = Vector3.new(2.60000014, 6, 0.200000003)
- o12.CFrame = CFrame.new(4.43366623, 3.95444536, 53.4073563, 0.76604414, 0, 0.642788053, 0, 1, 0, -0.642788053, 0, 0.76604414)
- o12.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o12.Position = Vector3.new(4.43366623, 3.95444536, 53.4073563)
- o13.Parent = o1
- o13.Material = Enum.Material.Metal
- o13.BrickColor = BrickColor.new("Dark stone grey")
- o13.Position = Vector3.new(3.59804916, 1.05444133, 52.4115067)
- o13.Rotation = Vector3.new(0, 40, 0)
- o13.Anchored = true
- o13.Size = Vector3.new(2.60000014, 0.200000003, 2.79999995)
- o13.CFrame = CFrame.new(3.59804916, 1.05444133, 52.4115067, 0.76604414, 0, 0.642788053, 0, 1, 0, -0.642788053, 0, 0.76604414)
- o13.BottomSurface = Enum.SurfaceType.Weld
- o13.TopSurface = Enum.SurfaceType.Smooth
- o13.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o13.Position = Vector3.new(3.59804916, 1.05444133, 52.4115067)
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = script
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement