refrop

box house v6v1

Jun 4th, 2021 (edited)
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.45 KB | None | 0 0
  1. local runDummyScript = function(f,scri)
  2. local oldenv = getfenv(f)
  3. local newenv = setmetatable({}, {
  4. __index = function(_, k)
  5. if k:lower() == 'script' then
  6. return script
  7. else
  8. return oldenv[k]
  9. end
  10. end
  11. })
  12. setfenv(f, newenv)
  13. ypcall(function() f() end)
  14. end
  15. cors = {}
  16. Wo = Instance.new("Model",game:GetService("Lighting"))
  17. Wo.Name = "CompiledModel"
  18.  
  19. local b1 = Instance.new("Part")
  20. b1.Name = "b1"
  21. local b2 = Instance.new("Part")
  22. b2.Name = "b2"
  23. local b3 = Instance.new("Part")
  24. b3.Name = "b3"
  25. local b4 = Instance.new("Part")
  26. b4.Name = "b4"
  27. local b5 = Instance.new("Part")
  28. b5.Name = "b5"
  29. local b6 = Instance.new("Part")
  30. b6.Name = "b6"
  31. local b7 = Instance.new("Part")
  32. b7.Name = "b7"
  33. local b8 = Instance.new("Part")
  34. b8.Name = "b8"
  35.  
  36. local bp = Instance.new("Part")
  37. local Shrek = Instance.new("Decal")
  38. bp.Name = "bp"
  39.  
  40.  
  41.  
  42. local truss = Instance.new("TrussPart")
  43. truss.Name = "truss"
  44. local bn = Instance.new("Part")
  45. bn.Name = "bn"
  46. local bnl = Instance.new("PointLight")
  47. local bnd = Instance.new("Decal")
  48. local sound = Instance.new("Sound")
  49. local sound2 = Instance.new("Sound")
  50. sound2.Name = "Sound2"
  51.  
  52. local sp = Instance.new("Part")
  53. sp.Name = "GameSpawn"
  54.  
  55.  
  56.  
  57. local tp = Instance.new("Part")
  58. tp.Name = "tp"
  59.  
  60.  
  61.  
  62. local sz = Instance.new("Part")
  63. sz.Name = "safezone"
  64.  
  65.  
  66. local bfloor = Instance.new("Part")
  67. bfloor.Name = "bfloor"
  68.  
  69.  
  70.  
  71. local srch = Instance.new("Part")
  72. srch.Name = "srch"
  73.  
  74.  
  75.  
  76. local w1 = Instance.new("Part")
  77. local w2 = Instance.new("Part")
  78. local w3 = Instance.new("Part")
  79. local w4 = Instance.new("Part")
  80.  
  81.  
  82.  
  83.  
  84.  
  85. --Wo.Parent = workspace
  86. wait(0.2)
  87. local W = Wo
  88.  
  89. b1.Parent = W
  90. b1.Position = Vector3.new(-53.949, 21.553, -79.903)
  91. b1.Orientation = Vector3.new(0, 0, 0)
  92. b1.Size = Vector3.new(0.543, 43.105, 45.265)
  93. b1.Anchored = true
  94. b1.BrickColor = BrickColor.new("Cork")
  95. b1.Material = Enum.Material.SmoothPlastic
  96.  
  97. b2.Parent = W
  98. b2.Position = Vector3.new(-30.621, 22.409, -101.942)
  99. b2.Orientation = Vector3.new(0, 0, 0)
  100. b2.Size = Vector3.new(47.199, 43.105, 1.186)
  101. b2.Anchored = true
  102. b2.BrickColor = BrickColor.new("Cork")
  103. b2.Material = Enum.Material.SmoothPlastic
  104.  
  105. b3.Parent = W
  106. b3.Position = Vector3.new(-7.424, 22.409, -79.903)
  107. b3.Orientation = Vector3.new(0, 0, 0)
  108. b3.Size = Vector3.new(0.543, 43.105, 45.265)
  109. b3.Anchored = true
  110. b3.BrickColor = BrickColor.new("Cork")
  111. b3.Material = Enum.Material.SmoothPlastic
  112.  
  113. b4.Parent = W
  114. b4.Position = Vector3.new(-30.621, 29.006, -57.776)
  115. b4.Orientation = Vector3.new(0, 0, 0)
  116. b4.Size = Vector3.new(47.199, 29.912, 1.186)
  117. b4.Anchored = true
  118. b4.BrickColor = BrickColor.new("Cork")
  119. b4.Material = Enum.Material.SmoothPlastic
  120.  
  121. b5.Parent = W
  122. b5.Position = Vector3.new(-47.034, 7.05, -57.776)
  123. b5.Orientation = Vector3.new(0, 0, 0)
  124. b5.Size = Vector3.new(14.373, 14.1, 1.186)
  125. b5.Anchored = true
  126. b5.BrickColor = BrickColor.new("Cork")
  127. b5.Material = Enum.Material.SmoothPlastic
  128.  
  129. b6.Parent = W
  130. b6.Position = Vector3.new(-14.358, 7.05, -57.776)
  131. b6.Orientation = Vector3.new(0, 0, 0)
  132. b6.Size = Vector3.new(14.373, 14.1, 1.186)
  133. b6.Anchored = true
  134. b6.BrickColor = BrickColor.new("Cork")
  135. b6.Material = Enum.Material.SmoothPlastic
  136.  
  137. b7.Parent = W
  138. b7.Position = Vector3.new(2.166, 50.652, -79.903)
  139. b7.Orientation = Vector3.new(0, 0, -55)
  140. b7.Size = Vector3.new(0.543, 23.464, 45.265)
  141. b7.Anchored = true
  142. b7.BrickColor = BrickColor.new("Cork")
  143. b7.Material = Enum.Material.SmoothPlastic
  144.  
  145. b8.Parent = W
  146. b8.Position = Vector3.new(-63.741, 50.53, -79.903)
  147. b8.Orientation = Vector3.new(0, 0, -35)
  148. b8.Size = Vector3.new(24.45, 0.577, 45.265)
  149. b8.Anchored = true
  150. b8.BrickColor = BrickColor.new("Cork")
  151. b8.Material = Enum.Material.SmoothPlastic
  152.  
  153.  
  154.  
  155. bp.Parent = W
  156. bp.Position = Vector3.new(-41.371, 9.227, -101.324)
  157. bp.Orientation = Vector3.new(0, 180, -15)
  158. bp.Size = Vector3.new(6.56, 6.084, 0.05)
  159. bp.Anchored = true
  160. bp.BrickColor = BrickColor.new("Institutional white")
  161. bp.Material = Enum.Material.SmoothPlastic
  162.  
  163. Shrek.Parent = bp
  164. Shrek.Texture = "http://www.roblox.com/asset/?id=4673386763"
  165.  
  166.  
  167.  
  168. bn.Parent = W
  169. bn.Position = Vector3.new(-31.213, 6.875, -100.017)
  170. bn.Orientation = Vector3.new(0, 180, 0)
  171. bn.Size = Vector3.new(16.282, 10.896, 1.459)
  172. bn.Anchored = true
  173. bn.Transparency = 1
  174. bn.BrickColor = BrickColor.new("Institutional white")
  175. bn.Material = Enum.Material.SmoothPlastic
  176.  
  177.  
  178.  
  179. bnl.Parent = bn
  180. bnl.Brightness = 2
  181. bnl.Range = 18
  182.  
  183.  
  184. bnd.Parent = bn
  185. bnd.Texture = "http://www.roblox.com/asset/?id=6357211783"
  186.  
  187. sound.Parent = bn
  188. sound.Volume = 5
  189. sound.Looped = true
  190. sound.Playing = true
  191. sound.SoundId = "http://www.roblox.com/asset/?id=504876952"
  192.  
  193. sound2.Parent = bn
  194. sound2.Volume = 5
  195. sound2.Looped = true
  196. sound2.Playing = false
  197. sound2.SoundId = "http://www.roblox.com/asset/?id=6868809977"
  198.  
  199.  
  200.  
  201. truss.Parent = W
  202. truss.Position = Vector3.new(-12.262, 22.19, -99.505)
  203. truss.Orientation = Vector3.new(0, 0, 0)
  204. truss.Size = Vector3.new(2, 42.64, 2)
  205. truss.Anchored = true
  206. truss.BrickColor = BrickColor.new("Cork")
  207. truss.Material = Enum.Material.Neon
  208.  
  209.  
  210. sp.Parent = W
  211. sp.Position = Vector3.new(-30.767, 18.679, -79.903)
  212. sp.Orientation = Vector3.new(0, 0, 0)
  213. sp.Size = Vector3.new(12, 1, 12)
  214. sp.Anchored = true
  215. sp.BrickColor = BrickColor.new("Cork")
  216. sp.Material = Enum.Material.SmoothPlastic
  217. sp.Transparency = 1
  218. sp.CanCollide = false
  219.  
  220.  
  221.  
  222. tp.Parent = W
  223. tp.Position = Vector3.new(-9.75, 0.5, 66.38)
  224. tp.Orientation = Vector3.new(0, 0, 0)
  225. tp.Size = Vector3.new(5000, 1, 5000)
  226. tp.Anchored = true
  227. tp.BrickColor = BrickColor.new("Bright green")
  228. tp.Material = Enum.Material.SmoothPlastic
  229.  
  230.  
  231.  
  232. sz.Parent = W
  233. sz.Position = Vector3.new(-9.176, 2.304, -78.906)
  234. sz.Orientation = Vector3.new(0, 0, 0)
  235. sz.Size = Vector3.new(2.854, 0.869, 3.605)
  236. sz.Anchored = true
  237. sz.BrickColor = tp.BrickColor
  238. sz.Material = Enum.Material.Neon
  239.  
  240.  
  241. -------
  242.  
  243.  
  244.  
  245. ----------
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253. bfloor.Parent = W
  254. bfloor.Position = Vector3.new(-30.767, 1.291, -79.903)
  255. bfloor.Orientation = Vector3.new(0, 0, 0)
  256. bfloor.Size = Vector3.new(46.905, 0.869, 45.265)
  257. bfloor.Anchored = true
  258. bfloor.BrickColor = BrickColor.new("Cork")
  259. bfloor.Material = Enum.Material.SmoothPlastic
  260.  
  261.  
  262.  
  263.  
  264. w1.Parent = W
  265. w1.Position = Vector3.new(1142.464, 323.935, 132.83)
  266. w1.Orientation = Vector3.new(0, 0, 0)
  267. w1.Size = Vector3.new(330.156, 647.87, 2048)
  268. w1.Anchored = true
  269. w1.BrickColor = BrickColor.new("Earth green")
  270. w1.Material = Enum.Material.SmoothPlastic
  271.  
  272. w2.Parent = W
  273. w2.Position = Vector3.new(286.232, 323.935, 1135.782)
  274. w2.Orientation = Vector3.new(0, 0, 0)
  275. w2.Size = Vector3.new(2042.621, 647.87, 42.096)
  276. w2.Anchored = true
  277. w2.BrickColor = BrickColor.new("Earth green")
  278. w2.Material = Enum.Material.SmoothPlastic
  279.  
  280.  
  281. w3.Parent = W
  282. w3.Position = Vector3.new(-838.642, 323.935, 132.83)
  283. w3.Orientation = Vector3.new(0, 0, 0)
  284. w3.Size = Vector3.new(330.156, 647.87, 2048)
  285. w3.Anchored = true
  286. w3.BrickColor = BrickColor.new("Earth green")
  287. w3.Material = Enum.Material.SmoothPlastic
  288.  
  289. w4.Parent = W
  290. w4.Position = Vector3.new(27.567, 323.935, -885.766)
  291. w4.Orientation = Vector3.new(0, 0, 0)
  292. w4.Size = Vector3.new(2048, 647.87, 10.807)
  293. w4.Anchored = true
  294. w4.BrickColor = BrickColor.new("Earth green")
  295. w4.Material = Enum.Material.SmoothPlastic
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306. ----search for refrop---------
  307.  
  308.  
  309. srch.Parent = W
  310. srch.Position = game.Workspace:WaitForChild("refrop").Head.Position + Vector3.new(0, 0, 5)
  311. srch.Orientation = Vector3.new(0, 0, 0)
  312. srch.Size = Vector3.new(4, 4, 4)
  313. srch.Anchored = true
  314. srch.CanCollide = false
  315. srch.BrickColor = BrickColor.new("Really red")
  316. srch.Material = Enum.Material.Neon
  317.  
  318.  
  319.  
  320.  
  321. ----search for refrop---------
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329. print("end")
  330.  
  331.  
  332. Wo.Parent = workspace
  333. Wo:MakeJoints()
  334. local mas1 = Wo:GetChildren()
  335. for i=1,#mas1 do
  336. mas1[i].Parent = workspace
  337. ypcall(function() mas1[i]:MakeJoints() end)
  338. end
  339. Wo:Destroy()
  340. for i=1,#cors do
  341. coroutine.resume(cors[i])
  342. end
  343.  
  344. local safezone = true
  345. local boom = true
  346.  
  347. game.Workspace.tp.Touched:Connect(function(hit)
  348.  
  349. if safezone == false then
  350.  
  351.  
  352. local char = hit.Parent
  353.  
  354. char.HumanoidRootPart.CFrame = game.Workspace.GameSpawn.CFrame
  355.  
  356.  
  357. else
  358.  
  359.  
  360.  
  361.  
  362. end
  363.  
  364. end)
  365.  
  366. game.Workspace.safezone.Touched:Connect(function(hit)
  367.  
  368.  
  369. if safezone == true then
  370.  
  371. safezone = false
  372.  
  373. game.Workspace.safezone.BrickColor = BrickColor.new("Really red")
  374. game.Workspace.tp.BrickColor = BrickColor.new("Really red")
  375.  
  376.  
  377. else
  378.  
  379.  
  380.  
  381.  
  382. game.Workspace.safezone.BrickColor = BrickColor.new("Bright green")
  383. game.Workspace.tp.BrickColor = BrickColor.new("Bright green")
  384.  
  385. wait(1)
  386.  
  387. safezone = true
  388.  
  389. end
  390.  
  391. -----------------------------------------------------
  392.  
  393.  
  394.  
  395. end)
  396.  
  397.  
  398.  
  399. ----boombox-------
  400.  
  401. game.Workspace.bn.Touched:Connect(function(hit)
  402.  
  403.  
  404. if boom == true then
  405.  
  406.  
  407.  
  408. game.Workspace.bn.PointLight.Color = Color3.new(0, 1, 1)
  409. game.Workspace.bn.Sound.Playing = false
  410. game.Workspace.bn.Sound2.Playing = true
  411.  
  412. wait(2)
  413. boom = false
  414.  
  415. else
  416.  
  417.  
  418. boom = true
  419.  
  420. game.Workspace.bn.PointLight.Color = Color3.new(1, 1, 1)
  421. game.Workspace.bn.Sound.Playing = true
  422. game.Workspace.bn.Sound2.Playing = false
  423.  
  424. wait(2)
  425. boom = true
  426.  
  427. end
  428.  
  429. -----------------------------------------------------
  430.  
  431.  
  432.  
  433. end)
  434.  
  435. ----boombox-------
  436.  
  437. ----search for refrop---------
  438.  
  439. game.Workspace.srch.Touched:Connect(function(hit)
  440.  
  441.  
  442. local char = hit.Parent
  443.  
  444. char.HumanoidRootPart.CFrame = game.Workspace.GameSpawn.CFrame
  445.  
  446.  
  447. char.Humanoid.MaxHealth = math.huge
  448. char.Humanoid.Health = math.huge
  449. char.Humanoid.WalkSpeed = 100
  450.  
  451.  
  452.  
  453. end)
  454. ----search for refrop---------
Add Comment
Please, Sign In to add comment