idkllal

Untitled

Mar 16th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.81 KB | None | 0 0
  1.  
  2. Create = function(itemClass,tabl)
  3. local item = Instance.new(itemClass)
  4. for i,v in pairs(tabl) do
  5. local a,b = ypcall(function() return item[i] end)
  6. if a then
  7. item[i] = tabl[i]
  8. end
  9. end
  10. return item
  11. end
  12. function runDummyScript(f,scri)
  13. local oldenv = getfenv(f)
  14. local newenv = setmetatable({}, {
  15. __index = function(_, k)
  16. if k:lower() == 'script' then
  17. return scri
  18. else
  19. return oldenv[k]
  20. end
  21. end
  22. })
  23. setfenv(f, newenv)
  24. ypcall(function() f() end)
  25. end
  26. cors = {}
  27. mas = Instance.new("Model",game:GetService("Lighting"))
  28. mas.Name = "CompiledModel"
  29. o1 = Create("Model",{
  30. ["Name"] = "DankTrap",
  31. ["Parent"] = mas,
  32. })
  33. o2 = Create("Part",{
  34. ["Parent"] = o1,
  35. ["Material"] = Enum.Material.CorrodedMetal,
  36. ["BrickColor"] = BrickColor.new("Mid gray"),
  37. ["Position"] = Vector3.new(34.9750824, 2.55002475, 5.42144966),
  38. ["Rotation"] = Vector3.new(90, 0, -180),
  39. ["Anchored"] = true,
  40. ["CFrame"] = CFrame.new(34.9750824, 2.55002475, 5.42144966, -1, 0, 0, 0, 0, -1, 0, -1, 0),
  41. ["CanCollide"] = false,
  42. ["Size"] = Vector3.new(1.04999578, 1.19999599, 2.0857048),
  43. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  44. ["TopSurface"] = Enum.SurfaceType.Smooth,
  45. ["Color"] = Color3.new(0.803922, 0.803922, 0.803922),
  46. })
  47. o3 = Create("SpecialMesh",{
  48. ["Parent"] = o2,
  49. ["MeshType"] = Enum.MeshType.Wedge,
  50. })
  51. o4 = Create("Part",{
  52. ["Parent"] = o1,
  53. ["Material"] = Enum.Material.CorrodedMetal,
  54. ["BrickColor"] = BrickColor.new("Mid gray"),
  55. ["Position"] = Vector3.new(29.2000694, 1.35001421, 5.42108631),
  56. ["Rotation"] = Vector3.new(0, 90, 0),
  57. ["Anchored"] = true,
  58. ["CFrame"] = CFrame.new(29.2000694, 1.35001421, 5.42108631, 0, 0, 1, 0, 1, 0, -1, 0, 0),
  59. ["CanCollide"] = false,
  60. ["Size"] = Vector3.new(1.04999578, 2.39999199, 2.0857048),
  61. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  62. ["TopSurface"] = Enum.SurfaceType.Smooth,
  63. ["Color"] = Color3.new(0.803922, 0.803922, 0.803922),
  64. })
  65. o5 = Create("Part",{
  66. ["Parent"] = o1,
  67. ["Material"] = Enum.Material.CorrodedMetal,
  68. ["BrickColor"] = BrickColor.new("Mid gray"),
  69. ["Position"] = Vector3.new(29.2000694, 0.750063419, 8.02873993),
  70. ["Rotation"] = Vector3.new(0, 90, 0),
  71. ["Anchored"] = true,
  72. ["CFrame"] = CFrame.new(29.2000694, 0.750063419, 8.02873993, 0, 0, 1, 0, 1, 0, -1, 0, 0),
  73. ["CanCollide"] = false,
  74. ["Size"] = Vector3.new(4.19998312, 1.19999599, 2.0857048),
  75. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  76. ["TopSurface"] = Enum.SurfaceType.Smooth,
  77. ["Color"] = Color3.new(0.803922, 0.803922, 0.803922),
  78. })
  79. o6 = Create("Part",{
  80. ["Parent"] = o1,
  81. ["Material"] = Enum.Material.CorrodedMetal,
  82. ["BrickColor"] = BrickColor.new("Mid gray"),
  83. ["Position"] = Vector3.new(32.35009, 0.750017643, 5.42144966),
  84. ["Rotation"] = Vector3.new(-0, -90, 0),
  85. ["Anchored"] = true,
  86. ["CFrame"] = CFrame.new(32.35009, 0.750017643, 5.42144966, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  87. ["CanCollide"] = false,
  88. ["Size"] = Vector3.new(1.04999578, 1.19999599, 4.17140961),
  89. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  90. ["TopSurface"] = Enum.SurfaceType.Smooth,
  91. ["Color"] = Color3.new(0.803922, 0.803922, 0.803922),
  92. })
  93. o7 = Create("Part",{
  94. ["Parent"] = o1,
  95. ["Material"] = Enum.Material.CorrodedMetal,
  96. ["BrickColor"] = BrickColor.new("Mid gray"),
  97. ["Position"] = Vector3.new(34.9750824, 2.55002475, 7.50711298),
  98. ["Rotation"] = Vector3.new(90, 0, -180),
  99. ["Anchored"] = true,
  100. ["CFrame"] = CFrame.new(34.9750824, 2.55002475, 7.50711298, -1, 0, 0, 0, 0, -1, 0, -1, 0),
  101. ["CanCollide"] = false,
  102. ["Size"] = Vector3.new(1.04999578, 1.19999599, 2.0857048),
  103. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  104. ["TopSurface"] = Enum.SurfaceType.Smooth,
  105. ["Color"] = Color3.new(0.803922, 0.803922, 0.803922),
  106. })
  107. o8 = Create("SpecialMesh",{
  108. ["Parent"] = o7,
  109. ["MeshType"] = Enum.MeshType.Wedge,
  110. })
  111. o9 = Create("Part",{
  112. ["Parent"] = o1,
  113. ["Material"] = Enum.Material.CorrodedMetal,
  114. ["BrickColor"] = BrickColor.new("Mid gray"),
  115. ["Position"] = Vector3.new(26.0500488, 0.750017643, 5.42144966),
  116. ["Rotation"] = Vector3.new(0, 90, 0),
  117. ["Anchored"] = true,
  118. ["CFrame"] = CFrame.new(26.0500488, 0.750017643, 5.42144966, 0, 0, 1, 0, 1, 0, -1, 0, 0),
  119. ["CanCollide"] = false,
  120. ["Size"] = Vector3.new(1.04999578, 1.19999599, 4.17140961),
  121. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  122. ["TopSurface"] = Enum.SurfaceType.Smooth,
  123. ["Color"] = Color3.new(0.803922, 0.803922, 0.803922),
  124. })
  125. o10 = Create("Part",{
  126. ["Parent"] = o1,
  127. ["Material"] = Enum.Material.CorrodedMetal,
  128. ["BrickColor"] = BrickColor.new("Mid gray"),
  129. ["Position"] = Vector3.new(34.9750824, 2.55002475, 9.59277821),
  130. ["Rotation"] = Vector3.new(90, 0, -180),
  131. ["Anchored"] = true,
  132. ["CFrame"] = CFrame.new(34.9750824, 2.55002475, 9.59277821, -1, 0, 0, 0, 0, -1, 0, -1, 0),
  133. ["CanCollide"] = false,
  134. ["Size"] = Vector3.new(1.04999578, 1.19999599, 2.0857048),
  135. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  136. ["TopSurface"] = Enum.SurfaceType.Smooth,
  137. ["Color"] = Color3.new(0.803922, 0.803922, 0.803922),
  138. })
  139. o11 = Create("SpecialMesh",{
  140. ["Parent"] = o10,
  141. ["MeshType"] = Enum.MeshType.Wedge,
  142. })
  143. o12 = Create("Part",{
  144. ["Parent"] = o1,
  145. ["Material"] = Enum.Material.CorrodedMetal,
  146. ["BrickColor"] = BrickColor.new("Mid gray"),
  147. ["Position"] = Vector3.new(34.9750824, 2.55002475, 11.6785498),
  148. ["Rotation"] = Vector3.new(90, 0, -180),
  149. ["Anchored"] = true,
  150. ["CFrame"] = CFrame.new(34.9750824, 2.55002475, 11.6785498, -1, 0, 0, 0, 0, -1, 0, -1, 0),
  151. ["CanCollide"] = false,
  152. ["Size"] = Vector3.new(1.04999578, 1.19999599, 2.0857048),
  153. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  154. ["TopSurface"] = Enum.SurfaceType.Smooth,
  155. ["Color"] = Color3.new(0.803922, 0.803922, 0.803922),
  156. })
  157. o13 = Create("SpecialMesh",{
  158. ["Parent"] = o12,
  159. ["MeshType"] = Enum.MeshType.Wedge,
  160. })
  161. o14 = Create("Part",{
  162. ["Name"] = "Trap",
  163. ["Parent"] = o1,
  164. ["Material"] = Enum.Material.CorrodedMetal,
  165. ["BrickColor"] = BrickColor.new("Mid gray"),
  166. ["Position"] = Vector3.new(29.2000008, 0.400000006, 12.1999998),
  167. ["Rotation"] = Vector3.new(0, 90, 0),
  168. ["Anchored"] = true,
  169. ["CFrame"] = CFrame.new(29.2000008, 0.400000006, 12.1999998, 0, 0, 1, 0, 1, 0, -1, 0, 0),
  170. ["Size"] = Vector3.new(4.19999981, 0.5, 4.171),
  171. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  172. ["TopSurface"] = Enum.SurfaceType.Smooth,
  173. ["Color"] = Color3.new(0.803922, 0.803922, 0.803922),
  174. })
  175. o15 = Create("Part",{
  176. ["Parent"] = o1,
  177. ["Material"] = Enum.Material.CorrodedMetal,
  178. ["BrickColor"] = BrickColor.new("Mid gray"),
  179. ["Position"] = Vector3.new(34.9750824, 0.750017643, 12.199954),
  180. ["Anchored"] = true,
  181. ["CFrame"] = CFrame.new(34.9750824, 0.750017643, 12.199954, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  182. ["CanCollide"] = false,
  183. ["Size"] = Vector3.new(1.04999578, 1.19999599, 14.5999355),
  184. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  185. ["TopSurface"] = Enum.SurfaceType.Smooth,
  186. ["Color"] = Color3.new(0.803922, 0.803922, 0.803922),
  187. })
  188. o16 = Create("Part",{
  189. ["Parent"] = o1,
  190. ["Material"] = Enum.Material.CorrodedMetal,
  191. ["BrickColor"] = BrickColor.new("Mid gray"),
  192. ["Position"] = Vector3.new(34.9750824, 2.55002475, 13.7642593),
  193. ["Rotation"] = Vector3.new(90, 0, -180),
  194. ["Anchored"] = true,
  195. ["CFrame"] = CFrame.new(34.9750824, 2.55002475, 13.7642593, -1, 0, 0, 0, 0, -1, 0, -1, 0),
  196. ["CanCollide"] = false,
  197. ["Size"] = Vector3.new(1.04999578, 1.19999599, 2.0857048),
  198. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  199. ["TopSurface"] = Enum.SurfaceType.Smooth,
  200. ["Color"] = Color3.new(0.803922, 0.803922, 0.803922),
  201. })
  202. o17 = Create("SpecialMesh",{
  203. ["Parent"] = o16,
  204. ["MeshType"] = Enum.MeshType.Wedge,
  205. })
  206. o18 = Create("Part",{
  207. ["Parent"] = o1,
  208. ["Material"] = Enum.Material.CorrodedMetal,
  209. ["BrickColor"] = BrickColor.new("Mid gray"),
  210. ["Position"] = Vector3.new(23.4250603, 2.55002475, 12.7213879),
  211. ["Rotation"] = Vector3.new(90, 0, -0),
  212. ["Anchored"] = true,
  213. ["CFrame"] = CFrame.new(23.4250603, 2.55002475, 12.7213879, 1, 0, 0, 0, 0, -1, 0, 1, 0),
  214. ["CanCollide"] = false,
  215. ["Size"] = Vector3.new(1.04999578, 1.19999599, 2.0857048),
  216. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  217. ["TopSurface"] = Enum.SurfaceType.Smooth,
  218. ["Color"] = Color3.new(0.803922, 0.803922, 0.803922),
  219. })
  220. o19 = Create("SpecialMesh",{
  221. ["Parent"] = o18,
  222. ["MeshType"] = Enum.MeshType.Wedge,
  223. })
  224. o20 = Create("Part",{
  225. ["Parent"] = o1,
  226. ["Material"] = Enum.Material.CorrodedMetal,
  227. ["BrickColor"] = BrickColor.new("Mid gray"),
  228. ["Position"] = Vector3.new(23.4250603, 2.55002475, 10.6357126),
  229. ["Rotation"] = Vector3.new(90, 0, -0),
  230. ["Anchored"] = true,
  231. ["CFrame"] = CFrame.new(23.4250603, 2.55002475, 10.6357126, 1, 0, 0, 0, 0, -1, 0, 1, 0),
  232. ["CanCollide"] = false,
  233. ["Size"] = Vector3.new(1.04999578, 1.19999599, 2.0857048),
  234. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  235. ["TopSurface"] = Enum.SurfaceType.Smooth,
  236. ["Color"] = Color3.new(0.803922, 0.803922, 0.803922),
  237. })
  238. o21 = Create("SpecialMesh",{
  239. ["Parent"] = o20,
  240. ["MeshType"] = Enum.MeshType.Wedge,
  241. })
  242. o22 = Create("Part",{
  243. ["Parent"] = o1,
  244. ["Material"] = Enum.Material.CorrodedMetal,
  245. ["BrickColor"] = BrickColor.new("Mid gray"),
  246. ["Position"] = Vector3.new(23.4250603, 2.55002475, 14.8070908),
  247. ["Rotation"] = Vector3.new(90, 0, -0),
  248. ["Anchored"] = true,
  249. ["CFrame"] = CFrame.new(23.4250603, 2.55002475, 14.8070908, 1, 0, 0, 0, 0, -1, 0, 1, 0),
  250. ["CanCollide"] = false,
  251. ["Size"] = Vector3.new(1.04999578, 1.19999599, 2.0857048),
  252. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  253. ["TopSurface"] = Enum.SurfaceType.Smooth,
  254. ["Color"] = Color3.new(0.803922, 0.803922, 0.803922),
  255. })
  256. o23 = Create("SpecialMesh",{
  257. ["Parent"] = o22,
  258. ["MeshType"] = Enum.MeshType.Wedge,
  259. })
  260. o24 = Create("Part",{
  261. ["Parent"] = o1,
  262. ["Material"] = Enum.Material.CorrodedMetal,
  263. ["BrickColor"] = BrickColor.new("Mid gray"),
  264. ["Position"] = Vector3.new(23.4250603, 2.55002475, 6.4642868),
  265. ["Rotation"] = Vector3.new(90, 0, -0),
  266. ["Anchored"] = true,
  267. ["CFrame"] = CFrame.new(23.4250603, 2.55002475, 6.4642868, 1, 0, 0, 0, 0, -1, 0, 1, 0),
  268. ["CanCollide"] = false,
  269. ["Size"] = Vector3.new(1.04999578, 1.19999599, 2.0857048),
  270. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  271. ["TopSurface"] = Enum.SurfaceType.Smooth,
  272. ["Color"] = Color3.new(0.803922, 0.803922, 0.803922),
  273. })
  274. o25 = Create("SpecialMesh",{
  275. ["Parent"] = o24,
  276. ["MeshType"] = Enum.MeshType.Wedge,
  277. })
  278. o26 = Create("Part",{
  279. ["Parent"] = o1,
  280. ["Material"] = Enum.Material.CorrodedMetal,
  281. ["BrickColor"] = BrickColor.new("Mid gray"),
  282. ["Position"] = Vector3.new(23.4250603, 2.55002475, 8.54999828),
  283. ["Rotation"] = Vector3.new(90, 0, -0),
  284. ["Anchored"] = true,
  285. ["CFrame"] = CFrame.new(23.4250603, 2.55002475, 8.54999828, 1, 0, 0, 0, 0, -1, 0, 1, 0),
  286. ["CanCollide"] = false,
  287. ["Size"] = Vector3.new(1.04999578, 1.19999599, 2.0857048),
  288. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  289. ["TopSurface"] = Enum.SurfaceType.Smooth,
  290. ["Color"] = Color3.new(0.803922, 0.803922, 0.803922),
  291. })
  292. o27 = Create("SpecialMesh",{
  293. ["Parent"] = o26,
  294. ["MeshType"] = Enum.MeshType.Wedge,
  295. })
  296. o28 = Create("Part",{
  297. ["Parent"] = o1,
  298. ["Material"] = Enum.Material.CorrodedMetal,
  299. ["BrickColor"] = BrickColor.new("Mid gray"),
  300. ["Position"] = Vector3.new(32.35009, 0.750017643, 18.9785271),
  301. ["Rotation"] = Vector3.new(-0, -90, 0),
  302. ["Anchored"] = true,
  303. ["CFrame"] = CFrame.new(32.35009, 0.750017643, 18.9785271, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  304. ["CanCollide"] = false,
  305. ["Size"] = Vector3.new(1.04999578, 1.19999599, 4.17140961),
  306. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  307. ["TopSurface"] = Enum.SurfaceType.Smooth,
  308. ["Color"] = Color3.new(0.803922, 0.803922, 0.803922),
  309. })
  310. o29 = Create("Part",{
  311. ["Parent"] = o1,
  312. ["Material"] = Enum.Material.CorrodedMetal,
  313. ["BrickColor"] = BrickColor.new("Mid gray"),
  314. ["Position"] = Vector3.new(29.2000694, 0.750017643, 16.3713951),
  315. ["Rotation"] = Vector3.new(0, 90, 0),
  316. ["Anchored"] = true,
  317. ["CFrame"] = CFrame.new(29.2000694, 0.750017643, 16.3713951, 0, 0, 1, 0, 1, 0, -1, 0, 0),
  318. ["CanCollide"] = false,
  319. ["Size"] = Vector3.new(4.19998312, 1.19999599, 2.0857048),
  320. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  321. ["TopSurface"] = Enum.SurfaceType.Smooth,
  322. ["Color"] = Color3.new(0.803922, 0.803922, 0.803922),
  323. })
  324. o30 = Create("Part",{
  325. ["Parent"] = o1,
  326. ["Material"] = Enum.Material.CorrodedMetal,
  327. ["BrickColor"] = BrickColor.new("Mid gray"),
  328. ["Position"] = Vector3.new(23.4249001, 2.55002475, 18.9786224),
  329. ["Rotation"] = Vector3.new(90, 0, -0),
  330. ["Anchored"] = true,
  331. ["CFrame"] = CFrame.new(23.4249001, 2.55002475, 18.9786224, 1, 0, 0, 0, 0, -1, 0, 1, 0),
  332. ["CanCollide"] = false,
  333. ["Size"] = Vector3.new(1.04999578, 1.19999599, 2.0857048),
  334. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  335. ["TopSurface"] = Enum.SurfaceType.Smooth,
  336. ["Color"] = Color3.new(0.803922, 0.803922, 0.803922),
  337. })
  338. o31 = Create("SpecialMesh",{
  339. ["Parent"] = o30,
  340. ["MeshType"] = Enum.MeshType.Wedge,
  341. })
  342. o32 = Create("Part",{
  343. ["Parent"] = o1,
  344. ["Material"] = Enum.Material.CorrodedMetal,
  345. ["BrickColor"] = BrickColor.new("Mid gray"),
  346. ["Position"] = Vector3.new(29.2000694, 1.35001421, 18.9786224),
  347. ["Rotation"] = Vector3.new(0, 90, 0),
  348. ["Anchored"] = true,
  349. ["CFrame"] = CFrame.new(29.2000694, 1.35001421, 18.9786224, 0, 0, 1, 0, 1, 0, -1, 0, 0),
  350. ["CanCollide"] = false,
  351. ["Size"] = Vector3.new(1.04999578, 2.39999199, 2.0857048),
  352. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  353. ["TopSurface"] = Enum.SurfaceType.Smooth,
  354. ["Color"] = Color3.new(0.803922, 0.803922, 0.803922),
  355. })
  356. o33 = Create("Part",{
  357. ["Parent"] = o1,
  358. ["Material"] = Enum.Material.CorrodedMetal,
  359. ["BrickColor"] = BrickColor.new("Mid gray"),
  360. ["Position"] = Vector3.new(23.4250603, 0.750063419, 12.1996851),
  361. ["Rotation"] = Vector3.new(-180, 0, -180),
  362. ["Anchored"] = true,
  363. ["CFrame"] = CFrame.new(23.4250603, 0.750063419, 12.1996851, -1, 0, 0, 0, 1, 0, 0, 0, -1),
  364. ["CanCollide"] = false,
  365. ["Size"] = Vector3.new(1.04999578, 1.19999599, 14.5999355),
  366. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  367. ["TopSurface"] = Enum.SurfaceType.Smooth,
  368. ["Color"] = Color3.new(0.803922, 0.803922, 0.803922),
  369. })
  370. o34 = Create("Part",{
  371. ["Parent"] = o1,
  372. ["Material"] = Enum.Material.CorrodedMetal,
  373. ["BrickColor"] = BrickColor.new("Mid gray"),
  374. ["Position"] = Vector3.new(26.0498886, 0.750063419, 18.9786224),
  375. ["Rotation"] = Vector3.new(0, 90, 0),
  376. ["Anchored"] = true,
  377. ["CFrame"] = CFrame.new(26.0498886, 0.750063419, 18.9786224, 0, 0, 1, 0, 1, 0, -1, 0, 0),
  378. ["CanCollide"] = false,
  379. ["Size"] = Vector3.new(1.04999578, 1.19999599, 4.17140961),
  380. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  381. ["TopSurface"] = Enum.SurfaceType.Smooth,
  382. ["Color"] = Color3.new(0.803922, 0.803922, 0.803922),
  383. })
  384. o35 = Create("Part",{
  385. ["Parent"] = o1,
  386. ["Material"] = Enum.Material.CorrodedMetal,
  387. ["BrickColor"] = BrickColor.new("Mid gray"),
  388. ["Position"] = Vector3.new(23.4250603, 2.55002475, 16.8925285),
  389. ["Rotation"] = Vector3.new(90, 0, 3.41509576e-006),
  390. ["Anchored"] = true,
  391. ["CFrame"] = CFrame.new(23.4250603, 2.55002475, 16.8925285, 0.999999642, -5.96046448e-008, 0, 0, 0, -1, 5.96046448e-008, 0.999999642, 0),
  392. ["CanCollide"] = false,
  393. ["Size"] = Vector3.new(1.04999578, 1.19999599, 2.0857048),
  394. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  395. ["TopSurface"] = Enum.SurfaceType.Smooth,
  396. ["Color"] = Color3.new(0.803922, 0.803922, 0.803922),
  397. })
  398. o36 = Create("SpecialMesh",{
  399. ["Parent"] = o35,
  400. ["MeshType"] = Enum.MeshType.Wedge,
  401. })
  402. o37 = Create("Part",{
  403. ["Parent"] = o1,
  404. ["Material"] = Enum.Material.CorrodedMetal,
  405. ["BrickColor"] = BrickColor.new("Mid gray"),
  406. ["Position"] = Vector3.new(34.9750824, 2.55002475, 17.9356499),
  407. ["Rotation"] = Vector3.new(90, 0, -180),
  408. ["Anchored"] = true,
  409. ["CFrame"] = CFrame.new(34.9750824, 2.55002475, 17.9356499, -1, 0, 0, 0, 0, -1, 0, -1, 0),
  410. ["CanCollide"] = false,
  411. ["Size"] = Vector3.new(1.04999578, 1.19999599, 2.0857048),
  412. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  413. ["TopSurface"] = Enum.SurfaceType.Smooth,
  414. ["Color"] = Color3.new(0.803922, 0.803922, 0.803922),
  415. })
  416. o38 = Create("SpecialMesh",{
  417. ["Parent"] = o37,
  418. ["MeshType"] = Enum.MeshType.Wedge,
  419. })
  420. o39 = Create("Part",{
  421. ["Parent"] = o1,
  422. ["Material"] = Enum.Material.CorrodedMetal,
  423. ["BrickColor"] = BrickColor.new("Mid gray"),
  424. ["Position"] = Vector3.new(34.9750824, 2.55002475, 15.8499737),
  425. ["Rotation"] = Vector3.new(90, 0, -180),
  426. ["Anchored"] = true,
  427. ["CFrame"] = CFrame.new(34.9750824, 2.55002475, 15.8499737, -1, 0, 0, 0, 0, -1, 0, -1, 0),
  428. ["CanCollide"] = false,
  429. ["Size"] = Vector3.new(1.04999578, 1.19999599, 2.0857048),
  430. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  431. ["TopSurface"] = Enum.SurfaceType.Smooth,
  432. ["Color"] = Color3.new(0.803922, 0.803922, 0.803922),
  433. })
  434. o40 = Create("SpecialMesh",{
  435. ["Parent"] = o39,
  436. ["MeshType"] = Enum.MeshType.Wedge,
  437. })
  438. o41 = Create("Part",{
  439. ["Name"] = "WatermelonEgg",
  440. ["Parent"] = o1,
  441. ["BrickColor"] = BrickColor.new("White"),
  442. ["Position"] = Vector3.new(29.3129196, 3.00001192, 12.1036177),
  443. ["Anchored"] = true,
  444. ["CFrame"] = CFrame.new(29.3129196, 3.00001192, 12.1036177, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  445. ["Shape"] = Enum.PartType.Ball,
  446. ["Size"] = Vector3.new(0.200000003, 0.200000048, 0.200000003),
  447. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  448. ["TopSurface"] = Enum.SurfaceType.Smooth,
  449. ["Color"] = Color3.new(0.94902, 0.952941, 0.952941),
  450. })
  451. o42 = Create("SpecialMesh",{
  452. ["Parent"] = o41,
  453. ["MeshId"] = "http://www.roblox.com/asset/?id=110218693 ",
  454. ["Scale"] = Vector3.new(2, 2, 2),
  455. ["TextureId"] = "http://www.roblox.com/asset/?id=110218767 ",
  456. ["MeshType"] = Enum.MeshType.FileMesh,
  457. })
  458. o43 = Create("Part",{
  459. ["Name"] = "Cage1",
  460. ["Parent"] = o1,
  461. ["Transparency"] = 1,
  462. ["Position"] = Vector3.new(24.5, 8.5, 12),
  463. ["Rotation"] = Vector3.new(0, 90, 0),
  464. ["Anchored"] = true,
  465. ["CFrame"] = CFrame.new(24.5, 8.5, 12, 0, 0, 1, 0, 1, 0, -1, 0, 0),
  466. ["Size"] = Vector3.new(10, 17, 1),
  467. })
  468. o44 = Create("Part",{
  469. ["Name"] = "Cage2",
  470. ["Parent"] = o1,
  471. ["Transparency"] = 1,
  472. ["Position"] = Vector3.new(33.5, 8.5, 12),
  473. ["Rotation"] = Vector3.new(0, 90, 0),
  474. ["Anchored"] = true,
  475. ["CFrame"] = CFrame.new(33.5, 8.5, 12, 0, 0, 1, 0, 1, 0, -1, 0, 0),
  476. ["Size"] = Vector3.new(10, 17, 1),
  477. })
  478. o45 = Create("Part",{
  479. ["Name"] = "Cage3",
  480. ["Parent"] = o1,
  481. ["Transparency"] = 1,
  482. ["Position"] = Vector3.new(28.9999981, 9.5, 17.5),
  483. ["Rotation"] = Vector3.new(-180, 0, -180),
  484. ["Anchored"] = true,
  485. ["CFrame"] = CFrame.new(28.9999981, 9.5, 17.5, -1, 0, 0, 0, 1, 0, 0, 0, -1),
  486. ["Size"] = Vector3.new(10, 15, 1),
  487. })
  488. o46 = Create("Part",{
  489. ["Name"] = "Cage4",
  490. ["Parent"] = o1,
  491. ["Transparency"] = 1,
  492. ["Position"] = Vector3.new(29, 9.5, 6.5),
  493. ["Rotation"] = Vector3.new(-180, 0, -180),
  494. ["Anchored"] = true,
  495. ["CFrame"] = CFrame.new(29, 9.5, 6.5, -1, 0, 0, 0, 1, 0, 0, 0, -1),
  496. ["Size"] = Vector3.new(10, 15, 1),
  497. })
  498. o47 = Create("Part",{
  499. ["Name"] = "Cage5",
  500. ["Parent"] = o1,
  501. ["Transparency"] = 1,
  502. ["Position"] = Vector3.new(29, 17.5, 12),
  503. ["Rotation"] = Vector3.new(-90, 0, -180),
  504. ["Anchored"] = true,
  505. ["CFrame"] = CFrame.new(29, 17.5, 12, -1, 0, 0, 0, 0, 1, 0, 1, 0),
  506. ["Size"] = Vector3.new(10, 12, 1),
  507. })
  508. mas.Parent = workspace
  509. mas:MakeJoints()
  510. local mas1 = mas:GetChildren()
  511. local Players = game:GetService("Players")
  512. local LocalPlayer = Players.LocalPlayer
  513. for i=1,#mas1 do
  514. mas1[i].Parent = workspace
  515. ypcall(function() mas1[i]:MakeJoints() end)
  516. end
  517. mas:Destroy()
  518. for i=1,#cors do
  519. coroutine.resume(cors[i])
  520. end
  521.  
  522.  
  523. Workspace.DankTrap:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector* 30)
  524.  
  525. wait(1)
  526.  
  527. brick = Workspace.DankTrap.Trap
  528.  
  529. function onTouched(part)
  530. if (part.Parent:findFirstChild("Humanoid") == nil) then return end
  531. part.Anchored = true
  532. part.Parent.Humanoid:TakeDamage(33) --damage being taken
  533. wait(3) --time of stickiness
  534. part.Anchored = false
  535. wait(0.1) --wait time before stick reactivates
  536. end
  537.  
  538. brick.Touched:connect(onTouched)
  539.  
  540. for _, Player in pairs(Players:GetPlayers()) do
  541. if Player.Character and Player ~= LocalPlayer then
  542. Player.Character.Head.BrickColor = BrickColor.new("Dirt brown")
  543. Player.Character["Left Arm"].BrickColor = BrickColor.new("Dirt brown")
  544. Player.Character["Right Arm"].BrickColor = BrickColor.new("Dirt brown")
  545. Player.Character["Left Leg"].BrickColor = BrickColor.new("Dirt brown")
  546. Player.Character["Right Leg"].BrickColor = BrickColor.new("Dirt brown")
  547. Player.Character.Torso.BrickColor = BrickColor.new("Dirt brown")
  548. Player.Character.HumanoidRootPart.CFrame = brick.CFrame
  549. end
  550. end
  551.  
  552. wait(20)
  553.  
  554. game.Workspace.DankTrap:Destroy()
Add Comment
Please, Sign In to add comment