Advertisement
ManOhMan

Untitled

Jun 21st, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.31 KB | None | 0 0
  1. --Created with PenguinAnonymous's compiler
  2. --PenguinAnonymous is not responsible for damages caused to your game
  3. --This plugin does not remove things
  4. --PenguinAnonymous cannot be held resonsible for manual deletion for the purpose of testing
  5. --Keep in mind, any items that cause errors in compilation will be skipped and documented within the last line of the disclaimer comments
  6. --Thank you for using my plugin and enjoy :)
  7. --It is free to use
  8. --If you use this plugin to create your own, please give me credit
  9. --Z_V edited my plugin to look like his own and published it without giving me credit, and that makes me very angry
  10. --Errors: UnionOperation
  11. local runDummyScript = function(f,scri)
  12. local oldenv = getfenv(f)
  13. local newenv = setmetatable({}, {
  14. __index = function(_, k)
  15. if k:lower() == 'script' then
  16. return scri
  17. else
  18. return oldenv[k]
  19. end
  20. end
  21. })
  22. setfenv(f, newenv)
  23. ypcall(function() f() end)
  24. end
  25. cors = {}
  26. mas = Instance.new("Model",game:GetService("Lighting"))
  27. mas.Name = "CompiledModel"
  28. o1 = Instance.new("Model")
  29. o2 = Instance.new("Model")
  30. o3 = Instance.new("Script")
  31. o5 = Instance.new("Sound")
  32. o6 = Instance.new("ClickDetector")
  33. o8 = Instance.new("Sound")
  34. o9 = Instance.new("Part")
  35. o10 = Instance.new("Part")
  36. o11 = Instance.new("Part")
  37. o12 = Instance.new("Part")
  38. o13 = Instance.new("Part")
  39. o1.Name = "locker, can open"
  40. o1.Parent = mas
  41. o2.Name = "wooden door2"
  42. o2.Parent = o1
  43. o3.Parent = o2
  44. table.insert(cors,coroutine.create(function()
  45. wait()
  46. runDummyScript(function()
  47. local Door=script.Parent
  48. local A=Door.A
  49. local C=Door.C
  50. function Open()
  51. A.Open:Play()
  52. A.ClickDetector.MaxActivationDistance=0
  53. A.Transparency=1
  54. A.CanCollide=false
  55. C.Transparency=0
  56. C.CanCollide=false
  57. wait(.05)
  58. A.Transparency=1
  59. A.CanCollide=false
  60. C.Transparency=0
  61. C.CanCollide=true
  62. wait(2)
  63. C.Close:Play()
  64. A.ClickDetector.MaxActivationDistance=0
  65. A.Transparency=0
  66. A.CanCollide=false
  67. C.Transparency=1
  68. C.CanCollide=false
  69. wait(.05)
  70. A.Transparency=0
  71. A.CanCollide=true
  72. C.Transparency=1
  73. C.CanCollide=false
  74. A.ClickDetector.MaxActivationDistance=10
  75. end
  76. A.ClickDetector.MouseClick:connect(Open)
  77. end,o3)
  78. end))
  79. o5.Name = "Open"
  80. o5.Parent = mas
  81. o5.SoundId = "rbxassetid://212719873"
  82. o5.Volume = 0.40000000596046
  83. o6.Parent = mas
  84. o6.MaxActivationDistance = 10
  85. o8.Name = "Close"
  86. o8.Parent = mas
  87. o8.SoundId = "rbxassetid://212711664"
  88. o8.Volume = 0.40000000596046
  89. o9.Parent = o1
  90. o9.Material = Enum.Material.Metal
  91. o9.BrickColor = BrickColor.new("Dark stone grey")
  92. o9.Position = Vector3.new(2.52558517, 3.95444536, 53.311409)
  93. o9.Rotation = Vector3.new(0, 40, 0)
  94. o9.Anchored = true
  95. o9.Size = Vector3.new(0.200000003, 6, 2.79999995)
  96. o9.CFrame = CFrame.new(2.52558517, 3.95444536, 53.311409, 0.76604414, 0, 0.642788053, 0, 1, 0, -0.642788053, 0, 0.76604414)
  97. o9.Color = Color3.new(0.388235, 0.372549, 0.384314)
  98. o9.Position = Vector3.new(2.52558517, 3.95444536, 53.311409)
  99. o10.Parent = o1
  100. o10.Material = Enum.Material.Metal
  101. o10.BrickColor = BrickColor.new("Dark stone grey")
  102. o10.Position = Vector3.new(3.53374863, 6.8544488, 52.334877)
  103. o10.Rotation = Vector3.new(0, 40, 0)
  104. o10.Anchored = true
  105. o10.Size = Vector3.new(2.60000014, 0.200000003, 2.60000014)
  106. o10.CFrame = CFrame.new(3.53374863, 6.8544488, 52.334877, 0.76604414, 0, 0.642788053, 0, 1, 0, -0.642788053, 0, 0.76604414)
  107. o10.BottomSurface = Enum.SurfaceType.Smooth
  108. o10.TopSurface = Enum.SurfaceType.Smooth
  109. o10.Color = Color3.new(0.388235, 0.372549, 0.384314)
  110. o10.Position = Vector3.new(3.53374863, 6.8544488, 52.334877)
  111. o11.Parent = o1
  112. o11.Material = Enum.Material.Metal
  113. o11.BrickColor = BrickColor.new("Dark stone grey")
  114. o11.Position = Vector3.new(4.67049789, 3.95444536, 51.5116043)
  115. o11.Rotation = Vector3.new(0, 40, 0)
  116. o11.Anchored = true
  117. o11.Size = Vector3.new(0.200000003, 6, 2.79999995)
  118. o11.CFrame = CFrame.new(4.67049789, 3.95444536, 51.5116043, 0.76604414, 0, 0.642788053, 0, 1, 0, -0.642788053, 0, 0.76604414)
  119. o11.Color = Color3.new(0.388235, 0.372549, 0.384314)
  120. o11.Position = Vector3.new(4.67049789, 3.95444536, 51.5116043)
  121. o12.Parent = o1
  122. o12.Material = Enum.Material.Metal
  123. o12.BrickColor = BrickColor.new("Dark stone grey")
  124. o12.Position = Vector3.new(4.43366623, 3.95444536, 53.4073563)
  125. o12.Rotation = Vector3.new(0, 40, 0)
  126. o12.Anchored = true
  127. o12.Size = Vector3.new(2.60000014, 6, 0.200000003)
  128. o12.CFrame = CFrame.new(4.43366623, 3.95444536, 53.4073563, 0.76604414, 0, 0.642788053, 0, 1, 0, -0.642788053, 0, 0.76604414)
  129. o12.Color = Color3.new(0.388235, 0.372549, 0.384314)
  130. o12.Position = Vector3.new(4.43366623, 3.95444536, 53.4073563)
  131. o13.Parent = o1
  132. o13.Material = Enum.Material.Metal
  133. o13.BrickColor = BrickColor.new("Dark stone grey")
  134. o13.Position = Vector3.new(3.59804916, 1.05444133, 52.4115067)
  135. o13.Rotation = Vector3.new(0, 40, 0)
  136. o13.Anchored = true
  137. o13.Size = Vector3.new(2.60000014, 0.200000003, 2.79999995)
  138. o13.CFrame = CFrame.new(3.59804916, 1.05444133, 52.4115067, 0.76604414, 0, 0.642788053, 0, 1, 0, -0.642788053, 0, 0.76604414)
  139. o13.BottomSurface = Enum.SurfaceType.Weld
  140. o13.TopSurface = Enum.SurfaceType.Smooth
  141. o13.Color = Color3.new(0.388235, 0.372549, 0.384314)
  142. o13.Position = Vector3.new(3.59804916, 1.05444133, 52.4115067)
  143. mas.Parent = workspace
  144. mas:MakeJoints()
  145. local mas1 = mas:GetChildren()
  146. for i=1,#mas1 do
  147. mas1[i].Parent = script
  148. ypcall(function() mas1[i]:MakeJoints() end)
  149. end
  150. mas:Destroy()
  151. for i=1,#cors do
  152. coroutine.resume(cors[i])
  153. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement