Advertisement
HyperczarevYT

dungeon quest qutofarm

Aug 14th, 2022 (edited)
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 386.13 KB | None | 0 0
  1.  
  2. _G.maxWaitTimeInLobby = 0 -- this is how long itll randomly walk around for before going into a dungeon
  3. _G.collect_daily_reward = false --if true then script will collect ur daily reward
  4.  
  5. -- Dungeon Choosing Settings (basic , premium , ultimate users only)
  6. _G.auto_join_dungeon = true --if true then script will auto join choosed dungeon
  7.  
  8. _G.dungeon = "Volcanic Chambers" --dungeon name
  9.  
  10.  
  11. _G.difficulty = "Nightmare" --difficult
  12.  
  13. _G.hardcore = true -- if true then it will enable hardcore mode
  14.  
  15. _G.auto_choose_dungeon_and_difficulty = false -- if true then script will auto choose ur best dungeon you can enter
  16.  
  17. _G.autoexec_wait_time_secs = 0 --wait time (just dont change lol)
  18.  
  19.  
  20. -- Wave Defense Settings (basic , premium , ultimate users only)
  21. _G.wavedefense = false --set to true when doin wave defence
  22.  
  23. -- Easter Event Settings (basic , premium , ultimate users only)
  24. _G.easter_enable = false -- set to true when doin egg event
  25.  
  26. _G.eggClass = "Mage" --egg event class
  27.  
  28. -- Party Settings (ultimate users only)
  29. _G.wait_for_friends = false --if true then will wait for friends to join
  30.  
  31. _G.friends = {"Friend 1", "Friend 2"} --friends nicknames
  32.  
  33. -- Joining Settings (ultimate users only)
  34. _G.wait_for_friends_to_host = false --if true then will join to the host below
  35.  
  36. _G.host_name = "keeeggamer" --host nick
  37.  
  38. -- Autosell Settings (ultimate users only)
  39. _G.autosell = false -- if true then script will auto sell items
  40.  
  41. _G.testSell = false -- prints out what items would've been sold instead of selling the items
  42.  
  43. _G.keep_items_level_requirement = 156 -- keeps items that level requirements are above this number
  44.  
  45. _G.keep2spells = false -- sell spells extra spells if you have 2 already
  46.  
  47. _G.keep_items_from_class = {
  48. ["physical"] = false,
  49. ["mage"] = false,
  50. }
  51. _G.keeprarities = {
  52. ['legendary'] = true,
  53. ['epic'] = false,
  54. ['rare'] = false,
  55. ['uncommon'] = false,
  56. ['common'] = false,
  57. }
  58. _G.itemlist ={
  59.  
  60. --Volcanic Chambers Armor
  61. ["Lava King's Warrior Helmet"] = {"rare","epic"},
  62. ["Lava King's Warrior Armor"] = {"rare","epic"},
  63. ["Lava King's Mage Helmet"] = {"rare","epic"},
  64. ["Lava King's Mage Armor"] = {"rare","epic"},
  65. -- Warrior Skills,
  66. ["Enhanced Inner Rage"] = {"legendary"},
  67. -- Others
  68. ["Enchanted Serpent Daggers"] = {"rare","epic"},
  69. ["Oceanic Greatsword"] = {"rare","epic"},
  70. ["Spear Strike"] = {"rare"},
  71. ["Water Orb"] = {"rare"},
  72. ["Ice Barrage"] = {"epic"},
  73. ["Ice Crash"] = {"epic"},
  74. ["Aquatic Smite"] = {"epic"},
  75. ["Ice Spikes"] = {"epic"},
  76. ["Triton Warrior Helmet"] = {"rare","epic","uncommon"},
  77. ["Triton Warrior Armor"] = {"rare","epic","uncommon"},
  78. ["Triton Mage Armor"] = {"rare","epic","uncommon"},
  79. ["Triton Mage Helmet"] = {"rare","epic","uncommon"},
  80. ["Triton Guardian Helmet"] = {"rare","epic"},
  81. ["Triton Guardian Armor"] = {"rare","epic"},
  82.  
  83. }
  84.  
  85. -- Auto Upgrade Settings (basic , premium , ultimate users only)
  86. _G.auto_stat_upgrade = false --if true then auto use stat points
  87.  
  88. _G.stat = "physicalPower" -- "physicalPower", "stamina", "spellPower" --stat name
  89.  
  90. _G.auto_equip_gear = false --if true then script will auto equip gear
  91.  
  92. _G.equip_type = "physical" -- "physical", "spell" --idk what to say lol just what gear you want to equip
  93.  
  94. _G.auto_upgrade_equip = false --if true then auto upgrades equipted gear
  95.  
  96. _G.autoEquipSpell = false --if true then script will auto equip ur speels
  97.  
  98. _G.spellType = "spell" -- "physical", "spell" -- speel you want to equip
  99.  
  100. -- Discord Webhook (ultimate users only)
  101. _G.webhookEnabled = false -- if true then script will send what you gained thru discord webhook
  102. _G.webhookLink = "https://discord.com/api/webhooks/1016072586964254780/Verg2y0RHfOJ32FekvDg9sQtX00zvZz4UcibixXTcBsbkOYEp7G1xkbKIdVB-xyJVFuE" --ur webhook
  103. _G.destroy_map = true --destroy map (enable if pathfinding get stuck)
  104. _G.del_armor = true --delete armor
  105. _G.del_weapon = true --delete weapon
  106. _G.hide_projectiles = true --hide speels used
  107. _G.optimize_mobs = true --delete mobs models
  108. _G.wall_transparency = 1
  109.  
  110.  
  111. local gamepass = game:GetService("MarketplaceService")
  112. _G.doInstakill = true
  113. _G.showTarget = true
  114. _G.loadSlow = true
  115. _G.extremelyFast = true
  116. _G.showPath = true
  117.  
  118.  
  119. _G.edit_ui = true --if true then script will modify ur gui
  120. _G.UI_portait_image = 'rbxassetid://10884336439'--gui settings
  121. _G.UI_health = "https://discord.gg/vBj374VVzX"--gui settings
  122. _G.UI_money = "-99999999999"--gui settings
  123. _G.UI_name = "Apotheo"--gui settings
  124. _G.UI_xp = "-999999999"--gui settings
  125. _G.UI_lvl = "inf"--gui settings
  126.  
  127. _G.fpsBoost = true
  128.  
  129. -- Instances:
  130. _G.btr_dodge = false
  131. -- Gui to Lua
  132. -- Version: 3.2
  133.  
  134. -- Instances:
  135.  
  136. local ScreenGui = Instance.new("ScreenGui")
  137. local license = Instance.new("Frame")
  138. local TextLabel = Instance.new("TextLabel")
  139. local DropShadowHolder = Instance.new("Frame")
  140. local DropShadow = Instance.new("ImageLabel")
  141. local content = Instance.new("TextLabel")
  142. local dungeon = Instance.new("Frame")
  143. local TextLabel_2 = Instance.new("TextLabel")
  144. local DropShadowHolder_2 = Instance.new("Frame")
  145. local DropShadow_2 = Instance.new("ImageLabel")
  146. local content_2 = Instance.new("TextLabel")
  147. local target = Instance.new("Frame")
  148. local TextLabel_3 = Instance.new("TextLabel")
  149. local DropShadowHolder_3 = Instance.new("Frame")
  150. local DropShadow_3 = Instance.new("ImageLabel")
  151. local content_3 = Instance.new("TextLabel")
  152. local Frame = Instance.new("Frame")
  153. local TextLabel_4 = Instance.new("TextLabel")
  154. local DropShadowHolder_4 = Instance.new("Frame")
  155. local DropShadow_4 = Instance.new("ImageLabel")
  156. local TextLabel_5 = Instance.new("TextLabel")
  157. local Frame_2 = Instance.new("Frame")
  158. local DropShadowHolder_5 = Instance.new("Frame")
  159. local DropShadow_5 = Instance.new("ImageLabel")
  160. local TextButton = Instance.new("TextButton")
  161. local TextButton_2 = Instance.new("TextButton")
  162. local Top = Instance.new("Frame")
  163. local TextLabel_6 = Instance.new("TextLabel")
  164. local DropShadowHolder_6 = Instance.new("Frame")
  165. local DropShadow_6 = Instance.new("ImageLabel")
  166. local TextLabel_7 = Instance.new("TextLabel")
  167. local Close = Instance.new("TextButton")
  168. local Discord = Instance.new("Frame")
  169. local DropShadowHolder_7 = Instance.new("Frame")
  170. local DropShadow_7 = Instance.new("ImageLabel")
  171. local TextLabel_8 = Instance.new("TextLabel")
  172. local Close_2 = Instance.new("TextButton")
  173. local TextBox = Instance.new("TextBox")
  174. local DropShadowHolder_8 = Instance.new("Frame")
  175. local DropShadow_8 = Instance.new("ImageLabel")
  176. local Frame_3 = Instance.new("Frame")
  177. local TextLabel_9 = Instance.new("TextLabel")
  178. local DropShadowHolder_9 = Instance.new("Frame")
  179. local DropShadow_9 = Instance.new("ImageLabel")
  180.  
  181. --Properties:
  182.  
  183. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  184. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  185.  
  186. license.Name = "license"
  187. license.Parent = ScreenGui
  188. license.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  189. license.BorderSizePixel = 0
  190. license.Position = UDim2.new(0.0404823422, 0, 0.638848841, 0)
  191. license.Size = UDim2.new(0.251507312, 0, 0.074820146, 0)
  192.  
  193. TextLabel.Parent = license
  194. TextLabel.AnchorPoint = Vector2.new(0.5, 0.5)
  195. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  196. TextLabel.BackgroundTransparency = 1.000
  197. TextLabel.BorderSizePixel = 0
  198. TextLabel.Position = UDim2.new(0.151799932, 0, 0.487000108, 0)
  199. TextLabel.Size = UDim2.new(0.24371767, 0, 0.557692349, 0)
  200. TextLabel.Font = Enum.Font.GothamBold
  201. TextLabel.Text = "License:"
  202. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  203. TextLabel.TextScaled = true
  204. TextLabel.TextSize = 10.000
  205. TextLabel.TextStrokeColor3 = Color3.fromRGB(194, 194, 194)
  206. TextLabel.TextWrapped = true
  207.  
  208. DropShadowHolder.Name = "DropShadowHolder"
  209. DropShadowHolder.Parent = license
  210. DropShadowHolder.BackgroundTransparency = 1.000
  211. DropShadowHolder.BorderSizePixel = 0
  212. DropShadowHolder.Size = UDim2.new(1, 0, 1, 0)
  213. DropShadowHolder.ZIndex = 0
  214.  
  215. DropShadow.Name = "DropShadow"
  216. DropShadow.Parent = DropShadowHolder
  217. DropShadow.AnchorPoint = Vector2.new(0.5, 0.5)
  218. DropShadow.BackgroundTransparency = 1.000
  219. DropShadow.BorderSizePixel = 0
  220. DropShadow.Position = UDim2.new(0.5, 0, 0.5, 0)
  221. DropShadow.Size = UDim2.new(1, 47, 1, 47)
  222. DropShadow.ZIndex = 0
  223. DropShadow.Image = "rbxassetid://6015897843"
  224. DropShadow.ImageColor3 = Color3.fromRGB(0, 0, 0)
  225. DropShadow.ImageTransparency = 0.500
  226. DropShadow.ScaleType = Enum.ScaleType.Slice
  227. DropShadow.SliceCenter = Rect.new(49, 49, 450, 450)
  228.  
  229. content.Name = "content"
  230. content.Parent = license
  231. content.AnchorPoint = Vector2.new(0.5, 0.5)
  232. content.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  233. content.BackgroundTransparency = 1.000
  234. content.BorderSizePixel = 0
  235. content.Position = UDim2.new(0.625558853, 0, 0.487000763, 0)
  236. content.Size = UDim2.new(0.581913948, 0, 0.557692289, 0)
  237. content.Font = Enum.Font.GothamBold
  238. content.Text = "nil"
  239. content.TextColor3 = Color3.fromRGB(255, 255, 255)
  240. content.TextScaled = true
  241. content.TextSize = 10.000
  242. content.TextStrokeColor3 = Color3.fromRGB(194, 194, 194)
  243. content.TextWrapped = true
  244.  
  245. dungeon.Name = "dungeon"
  246. dungeon.Parent = ScreenGui
  247. dungeon.AnchorPoint = Vector2.new(0.5, 0.5)
  248. dungeon.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  249. dungeon.BorderSizePixel = 0
  250. dungeon.Position = UDim2.new(0.166235998, 0, 0.765467525, 0)
  251. dungeon.Size = UDim2.new(0.251507312, 0, 0.074820146, 0)
  252.  
  253. TextLabel_2.Parent = dungeon
  254. TextLabel_2.AnchorPoint = Vector2.new(0.5, 0.5)
  255. TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  256. TextLabel_2.BackgroundTransparency = 1.000
  257. TextLabel_2.BorderSizePixel = 0
  258. TextLabel_2.Position = UDim2.new(0.151122198, 0, 0.487000108, 0)
  259. TextLabel_2.Size = UDim2.new(0.242629662, 0, 0.557692289, 0)
  260. TextLabel_2.Font = Enum.Font.GothamBold
  261. TextLabel_2.Text = "Dungeon:"
  262. TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  263. TextLabel_2.TextScaled = true
  264. TextLabel_2.TextSize = 10.000
  265. TextLabel_2.TextStrokeColor3 = Color3.fromRGB(194, 194, 194)
  266. TextLabel_2.TextWrapped = true
  267.  
  268. DropShadowHolder_2.Name = "DropShadowHolder"
  269. DropShadowHolder_2.Parent = dungeon
  270. DropShadowHolder_2.BackgroundTransparency = 1.000
  271. DropShadowHolder_2.BorderSizePixel = 0
  272. DropShadowHolder_2.Size = UDim2.new(1, 0, 1, 0)
  273. DropShadowHolder_2.ZIndex = 0
  274.  
  275. DropShadow_2.Name = "DropShadow"
  276. DropShadow_2.Parent = DropShadowHolder_2
  277. DropShadow_2.AnchorPoint = Vector2.new(0.5, 0.5)
  278. DropShadow_2.BackgroundTransparency = 1.000
  279. DropShadow_2.BorderSizePixel = 0
  280. DropShadow_2.Position = UDim2.new(0.5, 0, 0.5, 0)
  281. DropShadow_2.Size = UDim2.new(1, 47, 1, 47)
  282. DropShadow_2.ZIndex = 0
  283. DropShadow_2.Image = "rbxassetid://6015897843"
  284. DropShadow_2.ImageColor3 = Color3.fromRGB(0, 0, 0)
  285. DropShadow_2.ImageTransparency = 0.500
  286. DropShadow_2.ScaleType = Enum.ScaleType.Slice
  287. DropShadow_2.SliceCenter = Rect.new(49, 49, 450, 450)
  288.  
  289. content_2.Name = "content"
  290. content_2.Parent = dungeon
  291. content_2.AnchorPoint = Vector2.new(0.5, 0.5)
  292. content_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  293. content_2.BackgroundTransparency = 1.000
  294. content_2.BorderSizePixel = 0
  295. content_2.Position = UDim2.new(0.625558853, 0, 0.487000763, 0)
  296. content_2.Size = UDim2.new(0.581913948, 0, 0.557692289, 0)
  297. content_2.Font = Enum.Font.GothamBold
  298. content_2.Text = "nil"
  299. content_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  300. content_2.TextScaled = true
  301. content_2.TextSize = 10.000
  302. content_2.TextStrokeColor3 = Color3.fromRGB(194, 194, 194)
  303. content_2.TextWrapped = true
  304.  
  305. target.Name = "target"
  306. target.Parent = ScreenGui
  307. target.AnchorPoint = Vector2.new(0.5, 0.5)
  308. target.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  309. target.BorderSizePixel = 0
  310. target.Position = UDim2.new(0.166235998, 0, 0.84964031, 0)
  311. target.Size = UDim2.new(0.251507312, 0, 0.0676259026, 0)
  312.  
  313. TextLabel_3.Parent = target
  314. TextLabel_3.AnchorPoint = Vector2.new(0.5, 0.5)
  315. TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  316. TextLabel_3.BackgroundTransparency = 1.000
  317. TextLabel_3.BorderSizePixel = 0
  318. TextLabel_3.Position = UDim2.new(0.151122198, 0, 0.487000108, 0)
  319. TextLabel_3.Size = UDim2.new(0.242629662, 0, 0.557692289, 0)
  320. TextLabel_3.Font = Enum.Font.GothamBold
  321. TextLabel_3.Text = "Target:"
  322. TextLabel_3.TextColor3 = Color3.fromRGB(255, 255, 255)
  323. TextLabel_3.TextScaled = true
  324. TextLabel_3.TextSize = 10.000
  325. TextLabel_3.TextStrokeColor3 = Color3.fromRGB(194, 194, 194)
  326. TextLabel_3.TextWrapped = true
  327.  
  328. DropShadowHolder_3.Name = "DropShadowHolder"
  329. DropShadowHolder_3.Parent = target
  330. DropShadowHolder_3.BackgroundTransparency = 1.000
  331. DropShadowHolder_3.BorderSizePixel = 0
  332. DropShadowHolder_3.Size = UDim2.new(1, 0, 1, 0)
  333. DropShadowHolder_3.ZIndex = 0
  334.  
  335. DropShadow_3.Name = "DropShadow"
  336. DropShadow_3.Parent = DropShadowHolder_3
  337. DropShadow_3.AnchorPoint = Vector2.new(0.5, 0.5)
  338. DropShadow_3.BackgroundTransparency = 1.000
  339. DropShadow_3.BorderSizePixel = 0
  340. DropShadow_3.Position = UDim2.new(0.5, 0, 0.5, 0)
  341. DropShadow_3.Size = UDim2.new(1, 47, 1, 47)
  342. DropShadow_3.ZIndex = 0
  343. DropShadow_3.Image = "rbxassetid://6015897843"
  344. DropShadow_3.ImageColor3 = Color3.fromRGB(0, 0, 0)
  345. DropShadow_3.ImageTransparency = 0.500
  346. DropShadow_3.ScaleType = Enum.ScaleType.Slice
  347. DropShadow_3.SliceCenter = Rect.new(49, 49, 450, 450)
  348.  
  349. content_3.Name = "content"
  350. content_3.Parent = target
  351. content_3.AnchorPoint = Vector2.new(0.5, 0.5)
  352. content_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  353. content_3.BackgroundTransparency = 1.000
  354. content_3.BorderSizePixel = 0
  355. content_3.Position = UDim2.new(0.625558853, 0, 0.487000763, 0)
  356. content_3.Size = UDim2.new(0.581913948, 0, 0.557692289, 0)
  357. content_3.Font = Enum.Font.GothamBold
  358. content_3.Text = "nil"
  359. content_3.TextColor3 = Color3.fromRGB(255, 255, 255)
  360. content_3.TextScaled = true
  361. content_3.TextSize = 10.000
  362. content_3.TextStrokeColor3 = Color3.fromRGB(194, 194, 194)
  363. content_3.TextWrapped = true
  364.  
  365. Frame.Parent = ScreenGui
  366. Frame.AnchorPoint = Vector2.new(0.5, 0.5)
  367. Frame.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  368. Frame.BorderSizePixel = 0
  369. Frame.Position = UDim2.new(0.166235998, 0, 0.589927971, 0)
  370. Frame.Size = UDim2.new(0.251507312, 0, 0.074820146, 0)
  371.  
  372. TextLabel_4.Parent = Frame
  373. TextLabel_4.AnchorPoint = Vector2.new(0.5, 0.5)
  374. TextLabel_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  375. TextLabel_4.BackgroundTransparency = 1.000
  376. TextLabel_4.BorderSizePixel = 0
  377. TextLabel_4.Position = UDim2.new(0.183049947, 0, 0.487000108, 0)
  378. TextLabel_4.Size = UDim2.new(0.30621767, 0, 0.557692409, 0)
  379. TextLabel_4.Font = Enum.Font.GothamBold
  380. TextLabel_4.Text = "Made By:"
  381. TextLabel_4.TextColor3 = Color3.fromRGB(255, 255, 255)
  382. TextLabel_4.TextScaled = true
  383. TextLabel_4.TextSize = 10.000
  384. TextLabel_4.TextStrokeColor3 = Color3.fromRGB(194, 194, 194)
  385. TextLabel_4.TextWrapped = true
  386.  
  387. DropShadowHolder_4.Name = "DropShadowHolder"
  388. DropShadowHolder_4.Parent = Frame
  389. DropShadowHolder_4.BackgroundTransparency = 1.000
  390. DropShadowHolder_4.BorderSizePixel = 0
  391. DropShadowHolder_4.Size = UDim2.new(1, 0, 1, 0)
  392. DropShadowHolder_4.ZIndex = 0
  393.  
  394. DropShadow_4.Name = "DropShadow"
  395. DropShadow_4.Parent = DropShadowHolder_4
  396. DropShadow_4.AnchorPoint = Vector2.new(0.5, 0.5)
  397. DropShadow_4.BackgroundTransparency = 1.000
  398. DropShadow_4.BorderSizePixel = 0
  399. DropShadow_4.Position = UDim2.new(0.5, 0, 0.5, 0)
  400. DropShadow_4.Size = UDim2.new(1, 47, 1, 47)
  401. DropShadow_4.ZIndex = 0
  402. DropShadow_4.Image = "rbxassetid://6015897843"
  403. DropShadow_4.ImageColor3 = Color3.fromRGB(0, 0, 0)
  404. DropShadow_4.ImageTransparency = 0.500
  405. DropShadow_4.ScaleType = Enum.ScaleType.Slice
  406. DropShadow_4.SliceCenter = Rect.new(49, 49, 450, 450)
  407.  
  408. TextLabel_5.Parent = Frame
  409. TextLabel_5.AnchorPoint = Vector2.new(0.5, 0.5)
  410. TextLabel_5.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  411. TextLabel_5.BackgroundTransparency = 1.000
  412. TextLabel_5.BorderSizePixel = 0
  413. TextLabel_5.Position = UDim2.new(0.647335649, 0, 0.487000108, 0)
  414. TextLabel_5.Size = UDim2.new(0.538360536, 0, 0.557692409, 0)
  415. TextLabel_5.Font = Enum.Font.GothamBold
  416. TextLabel_5.Text = "ur_mother#7853"
  417. TextLabel_5.TextColor3 = Color3.fromRGB(255, 255, 255)
  418. TextLabel_5.TextScaled = true
  419. TextLabel_5.TextSize = 10.000
  420. TextLabel_5.TextStrokeColor3 = Color3.fromRGB(194, 194, 194)
  421. TextLabel_5.TextWrapped = true
  422.  
  423. Frame_2.Parent = ScreenGui
  424. Frame_2.AnchorPoint = Vector2.new(0.5, 0.5)
  425. Frame_2.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  426. Frame_2.BorderSizePixel = 0
  427. Frame_2.Position = UDim2.new(0.166235998, 0, 0.925899208, 0)
  428. Frame_2.Size = UDim2.new(0.251507312, 0, 0.0676259026, 0)
  429.  
  430. DropShadowHolder_5.Name = "DropShadowHolder"
  431. DropShadowHolder_5.Parent = Frame_2
  432. DropShadowHolder_5.BackgroundTransparency = 1.000
  433. DropShadowHolder_5.BorderSizePixel = 0
  434. DropShadowHolder_5.Size = UDim2.new(1, 0, 1, 0)
  435. DropShadowHolder_5.ZIndex = 0
  436.  
  437. DropShadow_5.Name = "DropShadow"
  438. DropShadow_5.Parent = DropShadowHolder_5
  439. DropShadow_5.AnchorPoint = Vector2.new(0.5, 0.5)
  440. DropShadow_5.BackgroundTransparency = 1.000
  441. DropShadow_5.BorderSizePixel = 0
  442. DropShadow_5.Position = UDim2.new(0.5, 0, 0.5, 0)
  443. DropShadow_5.Size = UDim2.new(1, 47, 1, 47)
  444. DropShadow_5.ZIndex = 0
  445. DropShadow_5.Image = "rbxassetid://6015897843"
  446. DropShadow_5.ImageColor3 = Color3.fromRGB(0, 0, 0)
  447. DropShadow_5.ImageTransparency = 0.500
  448. DropShadow_5.ScaleType = Enum.ScaleType.Slice
  449. DropShadow_5.SliceCenter = Rect.new(49, 49, 450, 450)
  450.  
  451. TextButton.Parent = Frame_2
  452. TextButton.AnchorPoint = Vector2.new(0.5, 0.5)
  453. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  454. TextButton.BackgroundTransparency = 1.000
  455. TextButton.BorderSizePixel = 0
  456. TextButton.Position = UDim2.new(0.254348695, 0, 0.487000108, 0)
  457. TextButton.Size = UDim2.new(0.453673393, 0, 0.557692528, 0)
  458. TextButton.Font = Enum.Font.GothamBold
  459. TextButton.Text = "Discord"
  460. TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  461. TextButton.TextScaled = true
  462. TextButton.TextSize = 14.000
  463. TextButton.TextWrapped = true
  464.  
  465. TextButton_2.Parent = Frame_2
  466. TextButton_2.AnchorPoint = Vector2.new(0.5, 0.5)
  467. TextButton_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  468. TextButton_2.BackgroundTransparency = 1.000
  469. TextButton_2.BorderSizePixel = 0
  470. TextButton_2.Position = UDim2.new(0.741913199, 0, 0.487000108, 0)
  471. TextButton_2.Size = UDim2.new(0.453673393, 0, 0.557692528, 0)
  472. TextButton_2.Font = Enum.Font.GothamBold
  473. TextButton_2.Text = "Credits"
  474. TextButton_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  475. TextButton_2.TextScaled = true
  476. TextButton_2.TextSize = 14.000
  477. TextButton_2.TextWrapped = true
  478.  
  479. Top.Name = "Top"
  480. Top.Parent = Frame_2
  481. Top.AnchorPoint = Vector2.new(0.5, 0.5)
  482. Top.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  483. Top.BorderSizePixel = 0
  484. Top.Position = UDim2.new(2.26479459, 0, -5.44500017, 0)
  485. Top.Size = UDim2.new(2.12800002, 0, 9.21199989, 0)
  486. Top.Visible = false
  487.  
  488. TextLabel_6.Parent = Top
  489. TextLabel_6.AnchorPoint = Vector2.new(0.5, 0.5)
  490. TextLabel_6.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  491. TextLabel_6.BackgroundTransparency = 1.000
  492. TextLabel_6.BorderSizePixel = 0
  493. TextLabel_6.Position = UDim2.new(0.500581205, 0, 0.09716966, 0)
  494. TextLabel_6.Size = UDim2.new(0.93412441, 0, 0.0800344869, 0)
  495. TextLabel_6.Font = Enum.Font.GothamBold
  496. TextLabel_6.Text = "Scripting By: ur_mother#7853"
  497. TextLabel_6.TextColor3 = Color3.fromRGB(255, 255, 255)
  498. TextLabel_6.TextScaled = true
  499. TextLabel_6.TextSize = 10.000
  500. TextLabel_6.TextStrokeColor3 = Color3.fromRGB(194, 194, 194)
  501. TextLabel_6.TextWrapped = true
  502.  
  503. DropShadowHolder_6.Name = "DropShadowHolder"
  504. DropShadowHolder_6.Parent = Top
  505. DropShadowHolder_6.BackgroundTransparency = 1.000
  506. DropShadowHolder_6.BorderSizePixel = 0
  507. DropShadowHolder_6.Size = UDim2.new(1, 0, 1, 0)
  508. DropShadowHolder_6.ZIndex = 0
  509.  
  510. DropShadow_6.Name = "DropShadow"
  511. DropShadow_6.Parent = DropShadowHolder_6
  512. DropShadow_6.AnchorPoint = Vector2.new(0.5, 0.5)
  513. DropShadow_6.BackgroundTransparency = 1.000
  514. DropShadow_6.BorderSizePixel = 0
  515. DropShadow_6.Position = UDim2.new(0.5, 0, 0.5, 0)
  516. DropShadow_6.Size = UDim2.new(1, 47, 1, 47)
  517. DropShadow_6.ZIndex = 0
  518. DropShadow_6.Image = "rbxassetid://6015897843"
  519. DropShadow_6.ImageColor3 = Color3.fromRGB(0, 0, 0)
  520. DropShadow_6.ImageTransparency = 0.500
  521. DropShadow_6.ScaleType = Enum.ScaleType.Slice
  522. DropShadow_6.SliceCenter = Rect.new(49, 49, 450, 450)
  523.  
  524. TextLabel_7.Parent = Top
  525. TextLabel_7.AnchorPoint = Vector2.new(0.5, 0.5)
  526. TextLabel_7.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  527. TextLabel_7.BackgroundTransparency = 1.000
  528. TextLabel_7.BorderSizePixel = 0
  529. TextLabel_7.Position = UDim2.new(0.500581205, 0, 0.208109558, 0)
  530. TextLabel_7.Size = UDim2.new(0.93412441, 0, 0.0800344869, 0)
  531. TextLabel_7.Font = Enum.Font.GothamBold
  532. TextLabel_7.Text = "UI By: Tolde#7707"
  533. TextLabel_7.TextColor3 = Color3.fromRGB(255, 255, 255)
  534. TextLabel_7.TextScaled = true
  535. TextLabel_7.TextSize = 10.000
  536. TextLabel_7.TextStrokeColor3 = Color3.fromRGB(194, 194, 194)
  537. TextLabel_7.TextWrapped = true
  538.  
  539. Close.Name = "Close"
  540. Close.Parent = Top
  541. Close.AnchorPoint = Vector2.new(0.5, 0.5)
  542. Close.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  543. Close.BackgroundTransparency = 1.000
  544. Close.BorderSizePixel = 0
  545. Close.Position = UDim2.new(0.498534679, 0, 0.91535151, 0)
  546. Close.Size = UDim2.new(0.265837997, 0, 0.0892794952, 0)
  547. Close.Font = Enum.Font.GothamBold
  548. Close.Text = "Close"
  549. Close.TextColor3 = Color3.fromRGB(255, 255, 255)
  550. Close.TextScaled = true
  551. Close.TextSize = 14.000
  552. Close.TextWrapped = true
  553.  
  554. Discord.Name = "Discord"
  555. Discord.Parent = Frame_2
  556. Discord.AnchorPoint = Vector2.new(0.5, 0.5)
  557. Discord.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  558. Discord.BorderSizePixel = 0
  559. Discord.Position = UDim2.new(2.26479459, 0, -5.44500017, 0)
  560. Discord.Size = UDim2.new(2.12800002, 0, 9.21199989, 0)
  561. Discord.Visible = false
  562.  
  563. DropShadowHolder_7.Name = "DropShadowHolder"
  564. DropShadowHolder_7.Parent = Discord
  565. DropShadowHolder_7.BackgroundTransparency = 1.000
  566. DropShadowHolder_7.BorderSizePixel = 0
  567. DropShadowHolder_7.Size = UDim2.new(1, 0, 1, 0)
  568. DropShadowHolder_7.ZIndex = 0
  569.  
  570. DropShadow_7.Name = "DropShadow"
  571. DropShadow_7.Parent = DropShadowHolder_7
  572. DropShadow_7.AnchorPoint = Vector2.new(0.5, 0.5)
  573. DropShadow_7.BackgroundTransparency = 1.000
  574. DropShadow_7.BorderSizePixel = 0
  575. DropShadow_7.Position = UDim2.new(0.5, 0, 0.5, 0)
  576. DropShadow_7.Size = UDim2.new(1, 47, 1, 47)
  577. DropShadow_7.ZIndex = 0
  578. DropShadow_7.Image = "rbxassetid://6015897843"
  579. DropShadow_7.ImageColor3 = Color3.fromRGB(0, 0, 0)
  580. DropShadow_7.ImageTransparency = 0.500
  581. DropShadow_7.ScaleType = Enum.ScaleType.Slice
  582. DropShadow_7.SliceCenter = Rect.new(49, 49, 450, 450)
  583.  
  584. TextLabel_8.Parent = Discord
  585. TextLabel_8.AnchorPoint = Vector2.new(0.5, 0.5)
  586. TextLabel_8.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  587. TextLabel_8.BackgroundTransparency = 1.000
  588. TextLabel_8.BorderSizePixel = 0
  589. TextLabel_8.Position = UDim2.new(0.500581205, 0, 0.208109558, 0)
  590. TextLabel_8.Size = UDim2.new(0.93412441, 0, 0.0800344869, 0)
  591. TextLabel_8.Font = Enum.Font.GothamBold
  592. TextLabel_8.Text = "Discord: "
  593. TextLabel_8.TextColor3 = Color3.fromRGB(255, 255, 255)
  594. TextLabel_8.TextScaled = true
  595. TextLabel_8.TextSize = 10.000
  596. TextLabel_8.TextStrokeColor3 = Color3.fromRGB(194, 194, 194)
  597. TextLabel_8.TextWrapped = true
  598.  
  599. Close_2.Name = "Close"
  600. Close_2.Parent = Discord
  601. Close_2.AnchorPoint = Vector2.new(0.5, 0.5)
  602. Close_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  603. Close_2.BackgroundTransparency = 1.000
  604. Close_2.BorderSizePixel = 0
  605. Close_2.Position = UDim2.new(0.498534679, 0, 0.91535151, 0)
  606. Close_2.Size = UDim2.new(0.265837997, 0, 0.0892794952, 0)
  607. Close_2.Font = Enum.Font.GothamBold
  608. Close_2.Text = "Close"
  609. Close_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  610. Close_2.TextScaled = true
  611. Close_2.TextSize = 14.000
  612. Close_2.TextWrapped = true
  613.  
  614. TextBox.Parent = Discord
  615. TextBox.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  616. TextBox.Position = UDim2.new(0.361391813, 0, 0.337026179, 0)
  617. TextBox.Size = UDim2.new(0, 284, 0, 41)
  618. TextBox.ClearTextOnFocus = false
  619. TextBox.TextEditable = false
  620. TextBox.Font = Enum.Font.SourceSans
  621. TextBox.PlaceholderColor3 = Color3.fromRGB(0, 0, 0)
  622. TextBox.Text = "https://discord.gg/vBj374VVzX"
  623. TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  624. TextBox.TextSize = 14.000
  625.  
  626. DropShadowHolder_8.Name = "DropShadowHolder"
  627. DropShadowHolder_8.Parent = TextBox
  628. DropShadowHolder_8.BackgroundTransparency = 1.000
  629. DropShadowHolder_8.BorderSizePixel = 0
  630. DropShadowHolder_8.Size = UDim2.new(1, 0, 1, 0)
  631. DropShadowHolder_8.ZIndex = 0
  632.  
  633. DropShadow_8.Name = "DropShadow"
  634. DropShadow_8.Parent = DropShadowHolder_8
  635. DropShadow_8.AnchorPoint = Vector2.new(0.5, 0.5)
  636. DropShadow_8.BackgroundTransparency = 1.000
  637. DropShadow_8.BorderSizePixel = 0
  638. DropShadow_8.Position = UDim2.new(0.5, 0, 0.5, 0)
  639. DropShadow_8.Size = UDim2.new(1, 47, 1, 47)
  640. DropShadow_8.ZIndex = 0
  641. DropShadow_8.Image = "rbxassetid://6015897843"
  642. DropShadow_8.ImageColor3 = Color3.fromRGB(0, 0, 0)
  643. DropShadow_8.ImageTransparency = 0.500
  644. DropShadow_8.ScaleType = Enum.ScaleType.Slice
  645. DropShadow_8.SliceCenter = Rect.new(49, 49, 450, 450)
  646.  
  647. Frame_3.Parent = ScreenGui
  648. Frame_3.AnchorPoint = Vector2.new(0.5, 0.5)
  649. Frame_3.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  650. Frame_3.BorderSizePixel = 0
  651. Frame_3.Position = UDim2.new(0.927648604, 0, 0.943728864, 0)
  652. Frame_3.Size = UDim2.new(0.120585702, 0, 0.0751320794, 0)
  653.  
  654. TextLabel_9.Parent = Frame_3
  655. TextLabel_9.AnchorPoint = Vector2.new(0.5, 0.5)
  656. TextLabel_9.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  657. TextLabel_9.BackgroundTransparency = 1.000
  658. TextLabel_9.BorderSizePixel = 0
  659. TextLabel_9.Position = UDim2.new(0.497335374, 0, 0.486998558, 0)
  660. TextLabel_9.Size = UDim2.new(0.838360488, 0, 0.557692409, 0)
  661. TextLabel_9.Font = Enum.Font.GothamBold
  662. TextLabel_9.Text = "ui by Tolde#7707 :)"
  663. TextLabel_9.TextColor3 = Color3.fromRGB(255, 255, 255)
  664. TextLabel_9.TextScaled = true
  665. TextLabel_9.TextSize = 10.000
  666. TextLabel_9.TextStrokeColor3 = Color3.fromRGB(194, 194, 194)
  667. TextLabel_9.TextWrapped = true
  668.  
  669. DropShadowHolder_9.Name = "DropShadowHolder"
  670. DropShadowHolder_9.Parent = Frame_3
  671. DropShadowHolder_9.BackgroundTransparency = 1.000
  672. DropShadowHolder_9.BorderSizePixel = 0
  673. DropShadowHolder_9.Size = UDim2.new(1, 0, 1, 0)
  674. DropShadowHolder_9.ZIndex = 0
  675.  
  676. DropShadow_9.Name = "DropShadow"
  677. DropShadow_9.Parent = DropShadowHolder_9
  678. DropShadow_9.AnchorPoint = Vector2.new(0.5, 0.5)
  679. DropShadow_9.BackgroundTransparency = 1.000
  680. DropShadow_9.BorderSizePixel = 0
  681. DropShadow_9.Position = UDim2.new(0.5, 0, 0.5, 0)
  682. DropShadow_9.Size = UDim2.new(1, 47, 1, 47)
  683. DropShadow_9.ZIndex = 0
  684. DropShadow_9.Image = "rbxassetid://6015897843"
  685. DropShadow_9.ImageColor3 = Color3.fromRGB(0, 0, 0)
  686. DropShadow_9.ImageTransparency = 0.500
  687. DropShadow_9.ScaleType = Enum.ScaleType.Slice
  688. DropShadow_9.SliceCenter = Rect.new(49, 49, 450, 450)
  689.  
  690. -- Scripts:
  691.  
  692. local function OBHAE_fake_script() -- TextButton.Script
  693. local script = Instance.new('Script', TextButton)
  694.  
  695. function click()
  696. script.Disabled = true
  697. script.Parent.Parent.Discord.Visible = true
  698. script.Parent.Parent.Discord:TweenPosition(
  699.  
  700. UDim2.new(2.265, 0,-5.445, 0),
  701. "InOut",
  702. "Quad",
  703. 1,
  704. false
  705.  
  706. )
  707. wait(1)
  708. script.Disabled = false
  709. end
  710. script.Parent.MouseButton1Click:Connect(click)
  711. end
  712. coroutine.wrap(OBHAE_fake_script)()
  713. local function ZYLM_fake_script() -- TextButton_2.Script
  714. local script = Instance.new('Script', TextButton_2)
  715.  
  716. function click()
  717. script.Disabled = true
  718. script.Parent.Parent.Top.Visible = true
  719. script.Parent.Parent.Top:TweenPosition(
  720.  
  721. UDim2.new(2.265, 0,-5.445, 0),
  722. "InOut",
  723. "Quad",
  724. 1,
  725. false
  726.  
  727. )
  728. wait(1)
  729. script.Disabled = false
  730. end
  731. script.Parent.MouseButton1Click:Connect(click)
  732. end
  733. coroutine.wrap(ZYLM_fake_script)()
  734. local function OUDMCEP_fake_script() -- Close.Script
  735. local script = Instance.new('Script', Close)
  736.  
  737. function click()
  738. script.Disabled = true
  739. script.Parent.Parent:TweenPosition(
  740.  
  741. UDim2.new(2.656, 0,-17.636, 0),
  742. "InOut",
  743. "Quad",
  744. 1,
  745. false
  746.  
  747.  
  748. )
  749.  
  750. wait(1)
  751. script.Disabled = false
  752. script.Parent.Parent.Visible = false
  753. end
  754. script.Parent.MouseButton1Click:Connect(click)
  755. end
  756. coroutine.wrap(OUDMCEP_fake_script)()
  757. local function LIYEZ_fake_script() -- Close_2.Script
  758. local script = Instance.new('Script', Close_2)
  759.  
  760. function click()
  761. script.Disabled = true
  762. script.Parent.Parent:TweenPosition(
  763.  
  764. UDim2.new(2.656, 0,-17.636, 0),
  765. "InOut",
  766. "Quad",
  767. 1,
  768. false
  769.  
  770.  
  771. )
  772.  
  773. wait(1)
  774. script.Disabled = false
  775. script.Parent.Parent.Visible = false
  776. end
  777. script.Parent.MouseButton1Click:Connect(click)
  778. end
  779. coroutine.wrap(LIYEZ_fake_script)()
  780.  
  781.  
  782. while not game:IsLoaded() do
  783. wait(.1)
  784. end
  785.  
  786. while not game.Players do
  787. wait(.1)
  788. end
  789.  
  790. local gamer = {game.CollectionService, game:GetService("PathfindingService"), table.insert, table.remove}
  791. local sDebug = true
  792.  
  793.  
  794. while not game.Players.LocalPlayer do
  795. wait(.1)
  796. end
  797.  
  798. repeat wait() until game:IsLoaded() -- you know what this does
  799.  
  800. local getPlayerInvy = function(player) -- gets inventory stats
  801. return game.ReplicatedStorage.remotes.reloadInvy:InvokeServer()
  802. end
  803.  
  804. local function generateRandomString()
  805. local chars = {"q","w","e","r","t","y","u","i","o","p","a","s","d","f","g","h","j","k","l","z","x","c","v","b","n","m","1","2","3","4","5","6","7","8","9","0","X","A","B","V","R","I","O","P","L"}
  806. local str = ""
  807.  
  808. for i = 1, 16 do
  809. str = str .. chars[math.random(1, #chars)]
  810. end
  811. return str
  812. end
  813. local regionPartName = generateRandomString()
  814.  
  815. local function waitForExist(obj, objName, waitTime)
  816. if waitTime ~= nil then
  817. local timer = 0
  818. while not obj:FindFirstChild(objName) and waitTime > timer do
  819. wait(.1)
  820. timer = timer + .1
  821. end
  822. return obj:FindFirstChild(objName)
  823. else
  824. while not obj:FindFirstChild(objName) do
  825. wait()
  826. end
  827. return obj:FindFirstChild(objName)
  828. end
  829. end
  830.  
  831. local function comparestrtolist(str, list)
  832. for i, v in pairs(list) do
  833. if str == v then
  834. return true
  835. end
  836. end
  837. return false
  838. end
  839.  
  840. while not game.ReplicatedStorage:FindFirstChild("remotes") do
  841. wait(.1)
  842. end
  843.  
  844. while not game:FindFirstChild("Lighting") do
  845. wait(.1)
  846. end
  847.  
  848. while not game.Players.LocalPlayer:FindFirstChild("PlayerScripts") do
  849. wait(.1)
  850. end
  851.  
  852. function ScriptDebug(a)
  853. warn(a)
  854. end
  855.  
  856. local plrs = game:GetService'Players'
  857. local me = plrs.LocalPlayer;
  858.  
  859. local stuffTransparency = 1
  860. local abilityRange = 35
  861. local mobRange = 25
  862. local bossRange = 30
  863. local extremelyFast = 1
  864. local walkspeed = 30
  865. local insert = gamer[3]
  866. local remove = gamer[4]
  867.  
  868. local bossRaid = false
  869. local normalDungeon = true
  870. local waveDefense = false
  871. local eggEvent = false
  872. if sDebug then
  873. stuffTransparency = .5
  874. end
  875. -- stops loops when dungeon progress changes
  876. local gameOver = false
  877. -- variable for hitbox
  878. local bossPresent = false
  879. -- follow path variables
  880. _G.auto_attack = true
  881. _G.smallTeleportVal = 15
  882.  
  883. -- expiermental instakilltable
  884. local instakillTable = {
  885. ["Sand Peasant"] = true,
  886. ["Sand Giant"] = true,
  887. ["Frost Minion"] = true,
  888. ["Frost Wizard"] = true,
  889. ["Pirate Rifleman"] = true,
  890. ["Pirate Savage"] = true,
  891. ["Elementalist"] = true,
  892. ["King's Guard"] = true,
  893. ["Dark Mage"] = true,
  894. ["Demon Warrior"] = true,
  895. ["Samurai Swordsman"] = true,
  896. ["Bodyguard"] = true,
  897. ["Burly Enforcer"] = true,
  898. ["Raider"] = true,
  899. ["Harpoon Gunner"] = true,
  900. ["Cannon Crab"] = true,
  901. ["Spinner Bot"] = true,
  902. ["Fighter Bot"] = true,
  903. ["Cog Shooter"] = true,
  904. ["Hammer Bot"] = true,
  905. ["Hologram Assassin"] = true,
  906. ["Hologram Warrior"] = true,
  907. ["Chicken Mage"] = true,
  908. ["Chicken Brawler"] = true,
  909. }
  910.  
  911.  
  912. local VirtualUser=game:service'VirtualUser' -- afk
  913. game:service'Players'.LocalPlayer.Idled:connect(function()
  914. VirtualUser:CaptureController()
  915. VirtualUser:ClickButton2(Vector2.new())
  916. end)
  917.  
  918. local vu = game:GetService("VirtualUser") -- second afk script
  919. game:GetService("Players").LocalPlayer.Idled:connect(function()
  920. vu:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  921. wait(1)
  922. vu:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  923. end)
  924.  
  925. function AIMovementInLobby()
  926. local clock = 0
  927. local doneMoving = false
  928. _G.ai_done = false
  929. local zombie = game.Players.LocalPlayer.Character
  930. local Zombiehumanoid = zombie.Humanoid
  931. spawn(function()
  932. local PathfindingService = game:GetService("PathfindingService")
  933. local randomWayPoints = {
  934. {
  935. Vector3.new(29.4448986, 10.6809521, 1005.28198),
  936. },
  937. {
  938. Vector3.new(120.158272, 5.05413818, 1005.26672),
  939. },
  940. {
  941. Vector3.new(145.121567, 4.79999876, 1028.203),
  942. },
  943. {
  944. Vector3.new(138.910416, 4.85120726, 1080.46936),
  945. },
  946. {
  947. Vector3.new(50.0033913, 5.40119982, 1025.59448),
  948. Vector3.new(12.7496023, 4.94986296, 1046.24768),
  949. },
  950. {
  951. Vector3.new(56.9857826, 5.10824966, 1066.79846),
  952. Vector3.new(40.124321, 5, 1055.27551),
  953. },
  954. {
  955. Vector3.new(28.1154366, 4.8208971, 1041.24829),
  956. },
  957. {
  958. Vector3.new(8.27422428, 4.80000019, 1034.32092),
  959. Vector3.new(-36.9196014, 4.80000019, 1022.45972),
  960. Vector3.new(-93.4016876, 5.84888077, 1107.07776),
  961. Vector3.new(-134.147461, 5.84888077, 1080.1228),
  962. },
  963. {
  964. Vector3.new(8.27422428, 4.80000019, 1034.32092),
  965. Vector3.new(-36.9196014, 4.80000019, 1022.45972),
  966. Vector3.new(-69.0564728, 5.87887812, 1101.21545),
  967. },
  968. {
  969. Vector3.new(8.27422428, 4.80000019, 1034.32092),
  970. Vector3.new(-36.9196014, 4.80000019, 1022.45972),
  971. Vector3.new(-57.2358208, 5.81887817, 1059.91345),
  972. },
  973. {
  974. Vector3.new(104.851845, 4.80013657, 1029.08655),
  975. Vector3.new(66.5649185, 11.1366758, 981.947205),
  976. Vector3.new(58.9183998, 15.5042267, 969.327759),
  977. },
  978. {
  979. Vector3.new(106.917046, 5.1029253, 1033.20129),
  980. Vector3.new(126.421371, 4.80742407, 1017.41754),
  981. Vector3.new(109.249374, 4.99999857, 998.975525),
  982. },
  983. {
  984. Vector3.new(37.6123543, 5.1142168, 1041.55664),
  985. Vector3.new(8.08811092, 11.3835154, 1087.04956),
  986. Vector3.new(3.8377471, 4.81672573, 1051.76331),
  987. },
  988. {
  989. Vector3.new(74.2765732, 4.79785824, 1034.74109),
  990. Vector3.new(59.2142448, 5, 1081.58557),
  991. Vector3.new(23.250845, 5.6657753, 1021.79108),
  992. },
  993. {
  994. Vector3.new(75.4334259, 5.07404947, 1048.54626),
  995. Vector3.new(59.5415268, 9.24949932, 1002.75214),
  996. Vector3.new(21.7118225, 26.9064331, 982.54895),
  997. },
  998. {
  999. Vector3.new(86.8510361, 4.95114946, 1012.60217),
  1000. Vector3.new(78.8645248, 5.21786928, 1063.84338),
  1001. Vector3.new(39.1454849, 5, 1062.37744),
  1002. },
  1003. {
  1004. Vector3.new(85.5781631, 5.19999838, 1044.32336),
  1005. Vector3.new(7.32494354, 4.79999876, 1031.84668),
  1006. Vector3.new(-16.918314, 7.10381889, 999.609253),
  1007. },
  1008. {
  1009. Vector3.new(85.5781631, 5.19999838, 1044.32336),
  1010. Vector3.new(7.32494354, 4.79999876, 1031.84668),
  1011. Vector3.new(-60.5333252, 4.90647602, 1025.54321),
  1012. },
  1013. {
  1014. Vector3.new(85.5781631, 5.19999838, 1044.32336),
  1015. Vector3.new(7.32494354, 4.79999876, 1031.84668),
  1016. Vector3.new(-76.8479233, 4.87704134, 1009.79724),
  1017. },
  1018. {
  1019. Vector3.new(116.443657, 5.34364605, 1031.54187),
  1020. Vector3.new(136.55043, 4.80000019, 1068.89758),
  1021. Vector3.new(96.5291367, 5.04907751, 1055.71301),
  1022. },
  1023. {
  1024. Vector3.new(136.55043, 4.80000019, 1068.89758),
  1025. Vector3.new(96.5291367, 5.04907751, 1055.71301),
  1026. Vector3.new(116.443657, 5.34364605, 1031.54187),
  1027. },
  1028. {
  1029. Vector3.new(84.3650131, 4.95895767, 1011.05023),
  1030. Vector3.new(28.3323727, 5.77999735, 1021.42993),
  1031. Vector3.new(32.4552689, 5, 1067.22888),
  1032. },
  1033. }
  1034. -- Variables for the zombie, its humanoid, and destination
  1035.  
  1036.  
  1037.  
  1038. for i,v in pairs(randomWayPoints[math.random(1,#randomWayPoints)]) do
  1039. local path = PathfindingService:CreatePath()
  1040. -- Compute the path
  1041. path:ComputeAsync(zombie.HumanoidRootPart.Position, v)
  1042. local waypoints = path:GetWaypoints()
  1043. -- Get the path waypoints
  1044.  
  1045. local wayPointParts = {}
  1046. -- Loop through waypoints
  1047. local number2 = 0
  1048. for _, waypoint in pairs(waypoints) do
  1049. if _G.ai_done then break end
  1050. number2 = number2 + .5
  1051. local part = Instance.new("Part")
  1052. part.Shape = "Ball"
  1053. part.Material = "Neon"
  1054. local number = (math.sin(number2) + 1.5) /2
  1055. part.Size = Vector3.new(number, number, number)
  1056. part.Position = waypoint.Position
  1057. part.Anchored = true
  1058. part.CanCollide = false
  1059. part.Parent = game.Workspace
  1060. insert(wayPointParts, part)
  1061. end
  1062.  
  1063. for i, waypoint in pairs(waypoints) do
  1064. if _G.ai_done then break end
  1065. wayPointParts[i].BrickColor = BrickColor.new("Bright blue")
  1066. Zombiehumanoid:MoveTo(waypoint.Position)
  1067. Zombiehumanoid.MoveToFinished:Wait()
  1068. wayPointParts[i].BrickColor = BrickColor.new("Fire Yellow")
  1069. end
  1070. end
  1071. doneMoving = true
  1072. end)
  1073. while not(doneMoving or clock >_G.maxWaitTimeInLobby) do
  1074. clock = clock+.1
  1075. wait(.1)
  1076. end
  1077. _G.ai_done = true
  1078. Zombiehumanoid:MoveTo(zombie.HumanoidRootPart.Position)
  1079. end
  1080.  
  1081. function autoupgrade()
  1082. if _G.auto_stat_upgrade then
  1083. if game.Players.LocalPlayer.skillPoints.Value > 0 then
  1084. while game.Players.LocalPlayer.skillPoints.Value > 0 do
  1085. game:GetService("ReplicatedStorage").remotes.spendSkillPoint:FireServer(_G.stat)
  1086. wait()
  1087. end
  1088. end
  1089. end
  1090. end
  1091.  
  1092. function getItemType(v, includeHealth)
  1093. if v.health == nil then -- is a weapon
  1094. if v.spellPower < v.physicalDamage then
  1095. return "physical"
  1096. else
  1097. return "mage"
  1098. end
  1099. else -- is an armor
  1100. if v.spellPower > v.physicalPower then
  1101. if includeHealth then
  1102. if v.spellPower > v.health then
  1103. return "mage"
  1104. else
  1105. return "guardian"
  1106. end
  1107. else
  1108. return "mage"
  1109. end
  1110. else
  1111. if includeHealth then
  1112. if v.physicalPower > v.health then
  1113. return "physical"
  1114. else
  1115. return "guardian"
  1116. end
  1117. else
  1118. return "physical"
  1119. end
  1120. end
  1121. end
  1122. end
  1123.  
  1124. function lobbyStrCheck(a, b)
  1125. local la, lb = string.lower(a), string.lower(b)
  1126. la = string.gsub(la, "'", "") -- remove ' from item name
  1127. lb = string.gsub(lb, "'", "") -- remove ' from item name
  1128. la = string.gsub(la, "s", "") -- remove s from item name
  1129. lb = string.gsub(lb, "s", "") -- remove s from item name
  1130. return la == lb
  1131. end
  1132.  
  1133. function checkSell(rare, name) -- vital function
  1134. for itemName,rareTable in pairs(_G.itemlist) do
  1135. if lobbyStrCheck(itemName, name) then
  1136. for _, j in pairs(rareTable) do
  1137. if rare == j then
  1138. return false
  1139. end
  1140. end
  1141. end
  1142. end
  1143. return not _G.keeprarities[rare]
  1144. end
  1145.  
  1146. local function sell() -- autosell script bring all together
  1147. if _G.autosell then
  1148. local tallyList = {}
  1149. local itemType, gitems
  1150. gitems = getPlayerInvy(game.Players.LocalPlayer)
  1151. for itemFolderName,itemFolder in pairs(gitems) do
  1152. gitems = getPlayerInvy(game.Players.LocalPlayer)
  1153. if itemFolderName == "weapons" or itemFolderName == "chests" or itemFolderName == "helmets" then
  1154. for i, item in pairs(itemFolder) do
  1155. itemType = getItemType(item, false)
  1156. local itemTypeCheck = not _G.keep_items_from_class[itemType]
  1157. if not item.equipped and (checkSell(item.rarity, item.name) and item.levelReq < _G.keep_items_level_requirement and itemTypeCheck) then
  1158. if itemFolderName == "weapons" then
  1159. if _G.testSell then
  1160. print('MROBSWAG Selling: ', item.name)
  1161. else
  1162. game:GetService("ReplicatedStorage").remotes.sellItemEvent:FireServer({ ["ability"]= { }, ["helmet"]= { }, ["chest"]= { }, ["weapon"]= { (tonumber(string.sub(i, 8))) } })
  1163. end
  1164. elseif itemFolderName == "chests" then
  1165. if _G.testSell then
  1166. print('MROBSWAG Selling: ', item.name)
  1167. else
  1168. game:GetService("ReplicatedStorage").remotes.sellItemEvent:FireServer({ ["ability"]= { }, ["helmet"]= { }, ["chest"]= { (tonumber(string.sub(i, 7))) }, ["weapon"]= { } })
  1169. end
  1170. elseif itemFolderName == "helmets" then
  1171. if _G.testSell then
  1172. print('MROBSWAG Selling: ', item.name)
  1173. else
  1174. game:GetService("ReplicatedStorage").remotes.sellItemEvent:FireServer({ ["ability"]= { }, ["helmet"]= { (tonumber(string.sub(i, 8))) }, ["chest"]= { }, ["weapon"]= { } })
  1175. end
  1176. end
  1177. end
  1178. end
  1179. end
  1180. if itemFolderName == "abilities" then
  1181. for i, item in pairs(gitems.abilities) do
  1182. if tallyList[item.name] then
  1183. tallyList[item.name] = tallyList[item.name] +1
  1184. else
  1185. tallyList[item.name] = 1
  1186. end
  1187. if not item.equipped.q and not item.equipped.e then
  1188. if (checkSell(item.rarity, item.name) and item.levelReq < _G.keep_items_level_requirement) or (((tallyList[item.name] > 2) and _G.keep2spells)) then
  1189. if _G.testSell then
  1190. print('MROBSWAG Selling: ', item.name)
  1191. else
  1192. game:GetService("ReplicatedStorage").remotes.sellItemEvent:FireServer({ ["ability"]= {(tonumber(string.sub(i, 9))) }, ["helmet"]= { }, ["chest"]= { }, ["weapon"]= { } })
  1193. end
  1194. end
  1195. end
  1196. end
  1197. end
  1198. end
  1199. end
  1200. end
  1201.  
  1202.  
  1203. local function calculatePot(baseStat, maxUpgrade)
  1204. local upgradeLevel = 1
  1205. for i= 1, maxUpgrade do
  1206. upgradeLevel = baseStat * .05
  1207. if upgradeLevel >10 then
  1208. upgradeLevel = 10
  1209. end
  1210. baseStat = baseStat + upgradeLevel
  1211. end
  1212. return math.floor(baseStat)
  1213. end
  1214.  
  1215. local function calcCost(totalUpg, currentUpgrade)
  1216. local i = 0
  1217. local r = 100
  1218. for o = 1, totalUpg, 1 do
  1219. local a = 0
  1220. if (o > 1) then
  1221. local s = 1.06 * r + 50
  1222. if (220 < s - r) then
  1223. a = r + 220
  1224. else
  1225. a = s
  1226. end
  1227. else
  1228. a = r
  1229. end
  1230. if currentUpgrade < o then
  1231. if o <= 466 then
  1232. i = i + a
  1233. else
  1234. i = i + 100000
  1235. a = 100000
  1236. end
  1237. end
  1238. r = a
  1239. end
  1240. return i
  1241. end
  1242.  
  1243. function autoUpgradeEquip(equipType)
  1244. if _G.auto_upgrade_equip then
  1245.  
  1246. local gitems = getPlayerInvy(game.Players.LocalPlayer)
  1247. if equipType == "chests" then
  1248. for i,v in pairs(gitems.chests) do
  1249. local upgradeAmount = v.maxUpgrades - v.currentUpgrade
  1250. if v.equipped and upgradeAmount ~= 0 then
  1251. if v.spellPower > v.physicalPower then
  1252. game:GetService("ReplicatedStorage").remotes.upgradeItem:FireServer("chest", (tonumber(string.sub(i, 7))), "spell", upgradeAmount)
  1253. else
  1254. game:GetService("ReplicatedStorage").remotes.upgradeItem:FireServer("chest", (tonumber(string.sub(i, 7))), "physical", upgradeAmount)
  1255. end
  1256. end
  1257. end
  1258. elseif equipType == "helmets" then
  1259. for i,v in pairs(gitems.helmets) do
  1260. local upgradeAmount = v.maxUpgrades - v.currentUpgrade
  1261. if v.equipped and upgradeAmount ~= 0 then
  1262. if v.spellPower > v.physicalPower then
  1263. game:GetService("ReplicatedStorage").remotes.upgradeItem:FireServer("helmet", (tonumber(string.sub(i, 8))), "spell", upgradeAmount)
  1264. else
  1265. game:GetService("ReplicatedStorage").remotes.upgradeItem:FireServer("helmet", (tonumber(string.sub(i, 8))), "physical", upgradeAmount)
  1266. end
  1267. end
  1268. end
  1269. elseif equipType == "weapons" then
  1270. for i,v in pairs(gitems.weapons) do
  1271. local upgradeAmount = v.maxUpgrades - v.currentUpgrade
  1272. if v.equipped and upgradeAmount ~= 0 then
  1273. if v.spellPower > v.physicalDamage then
  1274. game:GetService("ReplicatedStorage").remotes.upgradeItem:FireServer("weapon", (tonumber(string.sub(i, 8))), "spell", upgradeAmount)
  1275. else
  1276. game:GetService("ReplicatedStorage").remotes.upgradeItem:FireServer("weapon", (tonumber(string.sub(i, 8))), "physical", upgradeAmount)
  1277. end
  1278. end
  1279. end
  1280. end
  1281. end
  1282. end
  1283.  
  1284.  
  1285. local function _equipBestSpell(spellArray, typ)
  1286. local bestVal, best, b = 0, nil
  1287. for i,v in pairs(spellArray) do
  1288. if v.name ~= "skip" then -- if i renamed a item to skip then dont compare it
  1289. local d = v.description:lower()
  1290. if d:find("spell") and typ == "spell" then -- if the description contains spell, then its probably a spellpower one
  1291. if v.levelReq > bestVal then
  1292. bestVal = v.levelReq
  1293. best = i
  1294. b = v.name
  1295. end
  1296. elseif d:find("physical") and typ == "physical" then -- if the description contains phyiscal, then its probably a phyiscal one
  1297. if v.levelReq > bestVal then
  1298. bestVal = v.levelReq
  1299. best = i
  1300. b = v.name
  1301. end
  1302. end
  1303. end
  1304. end
  1305. return best, b
  1306. end
  1307.  
  1308. local function equipBestSpell()
  1309. if _G.autoEquipSpell then
  1310. local gitems = getPlayerInvy(game.Players.LocalPlayer)
  1311. local gabil = gitems.abilities
  1312. local aBest, aName = _equipBestSpell(gabil, _G.spellType:lower()) -- finds ability with highest level
  1313. for i,v in pairs(gitems.abilities) do -- remove one ability
  1314. if v.name == aName then
  1315. v.name = "skip"
  1316. break
  1317. end
  1318. end
  1319. local bBest, bName = _equipBestSpell(gabil, _G.spellType:lower()) -- finds another ability with highest level
  1320. if aBest ~= nil and bBest ~= nil then
  1321. print(bBest, aBest)
  1322. game:GetService("ReplicatedStorage").remotes.equipItem:InvokeServer("ability", (tonumber(string.sub(aBest, 9))), "q") -- equips ability
  1323. wait(1)
  1324. game:GetService("ReplicatedStorage").remotes.equipItem:InvokeServer("ability", (tonumber(string.sub(bBest, 9))), "e") -- equips ability
  1325. end
  1326. end
  1327. end
  1328.  
  1329. local function autoEquipLvlGear()
  1330. if _G.auto_equip_gear then
  1331. print('autoEquip')
  1332. local playerLevel = game.Players.LocalPlayer.leaderstats.Level.Value
  1333. local gitems = getPlayerInvy(game.Players.LocalPlayer)
  1334. local bestDamage = 0 -- CHESTS
  1335. local bestEquip = nil
  1336. if gitems.chests ~= nil then
  1337. local gold = game.Players.LocalPlayer.leaderstats.Gold.Value
  1338. for i,v in pairs(gitems.chests) do
  1339. local upgradeAmount = v.maxUpgrades - v.currentUpgrade
  1340. if _G.equip_type == "spell" and v.levelReq <= playerLevel and v.spellPower > v.physicalPower then
  1341. local upgradeAmount = v.maxUpgrades - upgradeAmount
  1342. local tempNum = calculatePot(v.spellPower, v.maxUpgrades, i)
  1343. local canAfford = false
  1344. if calcCost(v.maxUpgrades, v.currentUpgrade) < gold then
  1345. canAfford = true
  1346. end
  1347. if (tempNum > bestDamage and canAfford) or (bestDamage < v.spellPower) then
  1348. bestDamage = tempNum
  1349. bestEquip = i
  1350. end
  1351. end
  1352. if _G.equip_type == "physical" and v.levelReq <= playerLevel and v.physicalPower > v.spellPower then
  1353. local tempNum = calculatePot(v.physicalPower, upgradeAmount)
  1354. local canAfford = false
  1355. if calcCost(v.maxUpgrades, v.currentUpgrade) < gold then
  1356. canAfford = true
  1357. end
  1358. if (tempNum > bestDamage and canAfford) or (bestDamage < v.physicalPower) then
  1359. bestDamage = tempNum
  1360. bestEquip = i
  1361. end
  1362. end
  1363. end
  1364. if not (bestEquip == nil) then
  1365. game:GetService("ReplicatedStorage").remotes.equipItem:InvokeServer("chest", (tonumber(string.sub(bestEquip, 7))))
  1366. end
  1367. end
  1368. wait(1)
  1369. autoUpgradeEquip("helmets")
  1370. wait(1)
  1371. local bestDamage = 0 -- HELMETS
  1372. local bestEquip = nil
  1373. if gitems.helmets ~= nil then
  1374. local gold = game.Players.LocalPlayer.leaderstats.Gold.Value
  1375. for i,v in pairs(gitems.helmets) do
  1376. local upgradeAmount = v.maxUpgrades - v.currentUpgrade
  1377. if _G.equip_type == "spell" and v.levelReq <= playerLevel and v.spellPower > v.physicalPower then
  1378. local tempNum = calculatePot(v.spellPower, upgradeAmount)
  1379. local canAfford = false
  1380. if calcCost(v.maxUpgrades, v.currentUpgrade) < gold then
  1381. canAfford = true
  1382. end
  1383. if (tempNum > bestDamage and canAfford) or (bestDamage < v.spellPower) then
  1384. bestDamage = tempNum
  1385. bestEquip = i
  1386. end
  1387. end
  1388. if _G.equip_type == "physical" and v.levelReq <= playerLevel and v.physicalPower > v.spellPower then
  1389. local tempNum = calculatePot(v.physicalPower, upgradeAmount)
  1390. local canAfford = false
  1391. if calcCost(v.maxUpgrades, v.currentUpgrade) < gold then
  1392. canAfford = true
  1393. end
  1394. if (tempNum > bestDamage and canAfford) or (bestDamage < v.physicalPower) then
  1395. bestDamage = tempNum
  1396. bestEquip = i
  1397. end
  1398. end
  1399. end
  1400. if not (bestEquip == nil) then
  1401. game:GetService("ReplicatedStorage").remotes.equipItem:InvokeServer("helmet", (tonumber(string.sub(bestEquip, 8))))
  1402. end
  1403. end
  1404. wait(1)
  1405. autoUpgradeEquip("chests")
  1406. wait(1)
  1407. local bestDamage = 0 -- WEAPONS
  1408. local bestEquip = nil
  1409. if gitems.weapons ~= nil then
  1410. local gold = game.Players.LocalPlayer.leaderstats.Gold.Value
  1411. for i,v in pairs(gitems.weapons) do
  1412. local upgradeAmount = v.maxUpgrades - v.currentUpgrade
  1413. if _G.equip_type == "spell" and v.levelReq <= playerLevel and v.spellPower > v.physicalDamage then
  1414. local tempNum = calculatePot(v.spellPower, v.maxUpgrades)
  1415. local canAfford = false
  1416. if calcCost(v.maxUpgrades, upgradeAmount) < gold then
  1417. canAfford = true
  1418. end
  1419. if (tempNum > bestDamage and canAfford) or (bestDamage < v.spellPower) then
  1420. bestDamage = tempNum
  1421. bestEquip = i
  1422. end
  1423. end
  1424. if _G.equip_type == "physical" and v.levelReq <= playerLevel and v.physicalDamage > v.spellPower then
  1425. local tempNum = calculatePot(v.physicalDamage, upgradeAmount)
  1426. local canAfford = false
  1427. if calcCost(v.maxUpgrades, v.currentUpgrade) < gold then
  1428. canAfford = true
  1429. end
  1430. if (tempNum > bestDamage and canAfford) or (bestDamage < v.physicalDamage) then
  1431. bestDamage = tempNum
  1432. bestEquip = i
  1433. end
  1434. end
  1435. end
  1436. if not (bestEquip == nil) then
  1437. game:GetService("ReplicatedStorage").remotes.equipItem:InvokeServer("weapon", (tonumber(string.sub(bestEquip, 8))))
  1438. end
  1439. end
  1440. wait(1)
  1441. autoUpgradeEquip("weapons")
  1442. wait(1)
  1443. end
  1444. end
  1445.  
  1446.  
  1447. local function autochoosedungeon()
  1448. if _G.auto_choose_dungeon_and_difficulty then
  1449. game.Players.LocalPlayer:WaitForChild("leaderstats")
  1450. game.Players.LocalPlayer.leaderstats:WaitForChild("Level")
  1451. lvl = game.Players.LocalPlayer.leaderstats.Level.Value
  1452. print(lvl)
  1453. if lvl <= 5 then
  1454. _G.dungeon = "Desert Temple"
  1455. _G.difficulty = "Easy"
  1456. elseif lvl <= 11 then
  1457. _G.dungeon = "Desert Temple"
  1458. _G.difficulty = "Medium"
  1459. elseif lvl <= 19 then
  1460. _G.dungeon = "Desert Temple"
  1461. _G.difficulty = "Hard"
  1462. elseif lvl <= 26 then
  1463. _G.dungeon = "Desert Temple"
  1464. _G.difficulty = "Insane"
  1465. elseif lvl <= 32 then
  1466. _G.dungeon = "Desert Temple"
  1467. _G.difficulty = "Nightmare"
  1468. elseif lvl <= 39 then
  1469. _G.dungeon = "Winter Outpost"
  1470. _G.difficulty = "Easy"
  1471. elseif lvl <= 44 then
  1472. _G.dungeon = "Winter Outpost"
  1473. _G.difficulty = "Medium"
  1474. elseif lvl <= 49 then
  1475. _G.dungeon = "Winter Outpost"
  1476. _G.difficulty = "Hard"
  1477. elseif lvl <= 54 then
  1478. _G.dungeon = "Winter Outpost"
  1479. _G.difficulty = "Insane"
  1480. elseif lvl <= 59 then
  1481. _G.dungeon = "Winter Outpost"
  1482. _G.difficulty = "Nightmare"
  1483. elseif lvl <= 64 then
  1484. _G.dungeon = "Pirate Island"
  1485. _G.difficulty = "Insane"
  1486. elseif lvl <= 69 then
  1487. _G.dungeon = "Pirate Island"
  1488. _G.difficulty = "Nightmare"
  1489. elseif lvl <= 74 then
  1490. _G.dungeon = "King's Castle"
  1491. _G.difficulty = "Insane"
  1492. elseif lvl <= 79 then
  1493. _G.dungeon = "King's Castle"
  1494. _G.difficulty = "Nightmare"
  1495. elseif lvl <= 84 then
  1496. _G.dungeon = "The Underworld"
  1497. _G.difficulty = "Insane"
  1498. elseif lvl <= 89 then
  1499. _G.dungeon = "The Underworld"
  1500. _G.difficulty = "Nightmare"
  1501. elseif lvl <= 94 then
  1502. _G.dungeon = "Samurai Palace"
  1503. _G.difficulty = "Insane"
  1504. elseif lvl <= 99 then
  1505. _G.dungeon = "Samurai Palace"
  1506. _G.difficulty = "Nightmare"
  1507. elseif lvl <= 104 then
  1508. _G.dungeon = "The Canals"
  1509. _G.difficulty = "Insane"
  1510. elseif lvl <= 109 then
  1511. _G.dungeon = "The Canals"
  1512. _G.difficulty = "Nightmare"
  1513. elseif lvl <= 114 then
  1514. _G.dungeon = "Ghastly Harbor"
  1515. _G.difficulty = "Insane"
  1516. elseif lvl <= 119 then
  1517. _G.dungeon = "Ghastly Harbor"
  1518. _G.difficulty = "Nightmare"
  1519. elseif lvl <= 124 then
  1520. _G.dungeon = "Steampunk Sewers"
  1521. _G.difficulty = "Insane"
  1522. elseif lvl <= 139 then
  1523. _G.dungeon = "Steampunk Sewers"
  1524. _G.difficulty = "Nightmare"
  1525. elseif lvl <= 145 then
  1526. _G.dungeon = "Orbital Outpost"
  1527. _G.difficulty = "Insane"
  1528. elseif lvl <= 149 then
  1529. _G.dungeon = "Orbital Outpost"
  1530. _G.difficulty = "Nightmare"
  1531. elseif lvl <= 154 then
  1532. _G.dungeon = "Volcanic Chambers"
  1533. _G.difficulty = "Insane"
  1534. else
  1535. _G.dungeon = "Volcanic Chambers"
  1536. _G.difficulty = "Nightmare"
  1537. end
  1538. end
  1539. end
  1540.  
  1541. function autoChooseBossRaidTier()
  1542. if _G.auto_choose_raid_boss_tier then
  1543. local gitems = getPlayerInvy(game.Players.LocalPlayer)
  1544. local largestKey = 0
  1545. if gitems.keys ~= nil then
  1546. if gitems.keys then
  1547. for i, v in pairs(gitems.keys) do
  1548. if tonumber(i) > largestKey and v then
  1549. largestKey = tonumber(i)
  1550. _G.boss_raid_tier = tonumber(i)
  1551. end
  1552. end
  1553. end
  1554. end
  1555. end
  1556. end
  1557.  
  1558. local function del_armor_ui() -- deletes armor and ui
  1559. spawn(function()
  1560. pgui = game.Players.LocalPlayer.PlayerGui
  1561. if game.CoreGui.RobloxGui:FindFirstChild("TopBarContainer") then
  1562. game.CoreGui.RobloxGui.TopBarContainer:WaitForChild("NameHealthContainer")
  1563. if game.CoreGui.RobloxGui.TopBarContainer.NameHealthContainer:FindFirstChild("Username") then
  1564. game.CoreGui.RobloxGui.TopBarContainer.NameHealthContainer.Username:Destroy()
  1565. end
  1566. end
  1567. while not game.Players.LocalPlayer.PlayerGui:FindFirstChild("playerStatus") do
  1568. wait(.1)
  1569. end
  1570. pstat = pgui.playerStatus.Frame
  1571. --pstat:Destroy()
  1572.  
  1573. if _G.edit_ui then
  1574. while not game.Players.LocalPlayer.PlayerGui:FindFirstChild("playerStatus") do
  1575. wait(.1)
  1576. end
  1577. pstat = pgui.playerStatus.Frame
  1578. while not pstat.portraitBorder:FindFirstChild("portrait") do
  1579. wait(.1)
  1580. end
  1581. pstat.portraitBorder.portrait.Image = _G.UI_portait_image
  1582. if pstat.moneyMain:FindFirstChild("updateMoney") then
  1583. pstat.moneyMain.updateMoney:Destroy()
  1584. end
  1585. pstat.moneyMain.TextLabel.Text = _G.UI_money
  1586. pstat.healthFrame.health.Text = _G.UI_health
  1587. if pstat.healthFrame.health:FindFirstChild("label") then
  1588. pstat.healthFrame.health.label:Destroy()
  1589. pstat.healthFrame.healthUpdater:Destroy()
  1590. end
  1591. pstat.playerName.Text = _G.UI_name
  1592. pstat.xpFrame.xp.Text = _G.UI_xp
  1593. if pstat.xpFrame:FindFirstChild("xpUpdater") then
  1594. pstat.xpFrame.xp.label:Destroy()
  1595. pstat.xpFrame.xpUpdater:Destroy()
  1596. end
  1597. pstat.levelBorder.level.Text = _G.UI_lvl
  1598.  
  1599. game.Players.LocalPlayer.PlayerGui:WaitForChild("abilities")
  1600. end
  1601. end)
  1602. game.Players.LocalPlayer.Character:WaitForChild("playerNameplate", 5)
  1603. if game.Players.LocalPlayer.Character:FindFirstChild("playerNameplate") then
  1604. game.Players.LocalPlayer.Character["playerNameplate"]:Destroy()
  1605. end
  1606.  
  1607. while not game.Players.LocalPlayer.Character do
  1608. wait()
  1609. end
  1610. while not game.Players.LocalPlayer.Character:FindFirstChildOfClass("Accessory") do
  1611. wait()
  1612. end
  1613. wait()
  1614. pchar = game.Players.LocalPlayer.Character
  1615. for i,v in next, game.Players.LocalPlayer.Character:GetChildren() do
  1616. if v.ClassName == 'Accessory' then
  1617.  
  1618. end
  1619. for _, v in pairs(pchar:GetChildren()) do
  1620. if v.ClassName == "Accessory" then
  1621. if not v:FindFirstChild("swing") then
  1622. if _G.del_weapon then
  1623. v:Destroy()
  1624. end
  1625. else
  1626. if _G.del_armor then
  1627. v:FindFirstChildOfClass("Model"):Destroy()
  1628. end
  1629. end
  1630. end
  1631. end
  1632. end
  1633. end
  1634. warn('place id check')
  1635. if game.PlaceId == 2414851778 or game.PlaceId == 3220968688 then
  1636. warn('place id check done')
  1637. while not workspace:FindFirstChild(game.Players.LocalPlayer.Name) do
  1638. wait(.1)
  1639.  
  1640. local Event = game:GetService("ReplicatedStorage").remotes.loadPlayerCharacter
  1641. Event:FireServer()
  1642. end
  1643. warn("pressed start")
  1644. spawn(function()
  1645. while not workspace:FindFirstChild(game.Players.LocalPlayer.Name):FindFirstChild("Humanoid") do
  1646. wait(.1)
  1647. end
  1648. spawn(function()
  1649. while not game.Lighting:FindFirstChild("Blur") do
  1650. wait(.1)
  1651. end
  1652. while not game.Players.LocalPlayer.PlayerGui:FindFirstChild("introGui") do
  1653. wait(.1)
  1654. end
  1655. game.Players.LocalPlayer.PlayerGui:FindFirstChild("introGui"):Destroy()
  1656. local s = workspace.CurrentCamera
  1657. s.CameraType = Enum.CameraType.Track;
  1658. s.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
  1659. game.Lighting.Blur:Destroy()
  1660. end)
  1661. spawn(function()
  1662. AIMovementInLobby()
  1663. end)
  1664. end)
  1665. warn("player loaded")
  1666. --[[
  1667. spawn(function()
  1668. del_armor_ui()
  1669. end)
  1670. warn("armor del")
  1671. ]]
  1672. if _G.collect_daily_reward then
  1673. while not workspace:FindFirstChild(game.Players.LocalPlayer.Name):FindFirstChild("HumanoidRootPart") do
  1674. wait(.1)
  1675. end
  1676. workspace.dailyRewardTouchPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  1677. wait(.1)
  1678. workspace.dailyRewardTouchPart.Size = Vector3.new(10,10,10)
  1679. workspace.dailyRewardTouchPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,1,0)
  1680. wait(.1)
  1681. spawn(function()
  1682. game.CoreGui:WaitForChild("PurchasePromptApp"):Destroy()
  1683. end)
  1684. end
  1685. warn("daily reward")
  1686. if _G.boss_raid and _G.auto_choose_raid_boss_tier then
  1687. local gitems = getPlayerInvy(game.Players.LocalPlayer)
  1688. if gitems.keys == nil then
  1689. _G.auto_choose_dungeon_and_difficulty = true
  1690. _G.boss_raid = false
  1691. _G.wavedefense = false
  1692. end
  1693. if gitems.keys["1"] ~= nil then
  1694. if gitems.keys["1"] == false then
  1695. _G.auto_choose_dungeon_and_difficulty = true
  1696. _G.boss_raid = false
  1697. _G.wavedefense = false
  1698. end
  1699. end
  1700. end
  1701. warn("key check")
  1702. autochoosedungeon()
  1703. warn("choose dungeon")
  1704. autoChooseBossRaidTier()
  1705. warn("choose boss raid tier")
  1706. equipBestSpell()
  1707. warn("auto spell swap")
  1708. autoEquipLvlGear()
  1709. warn("equip gear")
  1710. sell()
  1711. warn("sell done")
  1712. autoupgrade()
  1713. warn("auto upgrade done")
  1714. if _G.easter_enable then
  1715. _G.dungeon = "Egg Island"
  1716. _G.difficulty = "Nightmare"
  1717. _G.hardcore = false
  1718. end
  1719. print("JOINING DUNGEON")
  1720. while not _G.ai_done do -- movement AI
  1721. wait(.1)
  1722. end
  1723. if _G.auto_join_dungeon then
  1724. if _G.wait_for_friends_to_host then
  1725. if _G.boss_raid then
  1726. while not workspace.bossLobbies:FindFirstChild(_G.host_name) do
  1727. wait()
  1728. end
  1729. while wait(.1) do
  1730. game:GetService("ReplicatedStorage").remotes.playerJoinBossLobby:InvokeServer(workspace.bossLobbies:FindFirstChild(_G.host_name))
  1731. end
  1732. else
  1733. while not workspace.games.inLobby:FindFirstChild(_G.host_name) do
  1734. wait()
  1735. end
  1736. end
  1737. end
  1738. if _G.multi_roblox then
  1739. if game.Players.LocalPlayer.Name == _G.host_name_key[1] then -- what the hosts does
  1740. if _G.boss_raid then
  1741. local Event = game:GetService("ReplicatedStorage").remotes.createBossLobby
  1742. Event:InvokeServer(_G.boss_raid_tier, true, 0)
  1743. else
  1744. local Event = game:GetService("ReplicatedStorage").remotes.createLobby
  1745. Event:InvokeServer(_G.dungeon, _G.difficulty, 0, _G.hardcore, true, _G.wavedefense)
  1746. end
  1747. wait(.1)
  1748. if _G.boss_raid then
  1749. for i, v in pairs(_G.name_key_list) do -- whitelist everyone
  1750. game:GetService("ReplicatedStorage").remotes.addPlayerToBossWhitelist:FireServer(v[1])
  1751. end
  1752. else
  1753. for i, v in pairs(_G.name_key_list) do -- whitelist everyone
  1754. game:GetService("ReplicatedStorage").remotes.addPlayerToWhitelist:FireServer(v[1])
  1755. end
  1756. end
  1757. if _G.boss_raid then
  1758. while (#(workspace.bossLobbies:FindFirstChild(game.Players.LocalPlayer.Name).players:GetChildren())) ~= (#_G.name_key_list + 1) do -- wait for lobby to be full
  1759. wait()
  1760. end
  1761. else
  1762. while (#(workspace.games.inLobby:FindFirstChild(game.Players.LocalPlayer.Name):GetChildren()) - 1) ~= (#_G.name_key_list + 1) do -- wait for lobby to be full
  1763. wait()
  1764. end
  1765. end
  1766. if _G.boss_raid then
  1767. game:GetService("ReplicatedStorage").remotes.startBossRaid:FireServer()
  1768. else
  1769. game:GetService("ReplicatedStorage").remotes.startDungeon:FireServer()
  1770. end
  1771. else -- what the joiners do
  1772. if _G.boss_raid then
  1773. while not workspace.bossLobbies:FindFirstChild(_G.host_name_key[1]) do
  1774. wait()
  1775. end
  1776. while wait(.1) do
  1777. game:GetService("ReplicatedStorage").remotes.playerJoinBossLobby:InvokeServer(workspace.bossLobbies:FindFirstChild(_G.host_name_key[1]))
  1778. end
  1779. else
  1780. while not workspace.games.inLobby:FindFirstChild(_G.host_name_key[1]) do
  1781. wait()
  1782. end
  1783. end
  1784. end
  1785. end
  1786.  
  1787.  
  1788. if _G.wait_for_friends then
  1789. if _G.boss_raid then
  1790. local Event = game:GetService("ReplicatedStorage").remotes.createBossLobby
  1791. Event:InvokeServer(_G.boss_raid_tier, true, 0)
  1792. else
  1793. local Event = game:GetService("ReplicatedStorage").remotes.createLobby
  1794. Event:InvokeServer(_G.dungeon, _G.difficulty, 0, _G.hardcore, true, _G.wavedefense)
  1795. end
  1796. wait(.1)
  1797. if _G.boss_raid then
  1798. for i, v in pairs(_G.friends) do -- whitelist everyone
  1799. game:GetService("ReplicatedStorage").remotes.addPlayerToBossWhitelist:FireServer(v)
  1800. end
  1801. else
  1802. for i, v in pairs(_G.friends) do -- whitelist everyone
  1803. game:GetService("ReplicatedStorage").remotes.addPlayerToWhitelist:FireServer(v)
  1804. end
  1805. end
  1806. wait(.1)
  1807. if _G.boss_raid then
  1808. while (#(workspace.bossLobbies:FindFirstChild(game.Players.LocalPlayer.Name).players:GetChildren())) ~= (#_G.friends + 1) do -- wait for lobby to be full
  1809. wait()
  1810. end
  1811. else
  1812. while (#(workspace.games.inLobby:FindFirstChild(game.Players.LocalPlayer.Name):GetChildren()) - 1) ~= (#_G.friends + 1) do -- wait for lobby to be full
  1813. wait()
  1814. end
  1815. end
  1816. if _G.boss_raid then
  1817. local Event = game:GetService("ReplicatedStorage").remotes.startBossRaid
  1818. Event:FireServer()
  1819. else
  1820. local Event = game:GetService("ReplicatedStorage").remotes.startDungeon
  1821. Event:FireServer()
  1822. end
  1823. wait(20)
  1824. end
  1825.  
  1826. if _G.boss_raid then -- boss raid
  1827. print("make boss lobby")
  1828. local Event = game:GetService("ReplicatedStorage").remotes.createBossLobby
  1829. Event:InvokeServer(_G.boss_raid_tier, true, 0)
  1830. wait(1)
  1831. local Event = game:GetService("ReplicatedStorage").remotes.startBossRaid
  1832. Event:FireServer()
  1833. wait(20)
  1834. elseif not _G.boss_raid then -- normal dungeons/wavedefense
  1835. local Event = game:GetService("ReplicatedStorage").remotes.createLobby
  1836. Event:InvokeServer(_G.dungeon, _G.difficulty, 0, _G.hardcore, true, _G.wavedefense)
  1837. wait(1)
  1838. local Event = game:GetService("ReplicatedStorage").remotes.startDungeon
  1839. Event:FireServer()
  1840. wait(20)
  1841. end
  1842. else
  1843. while wait(.1) do
  1844. end
  1845. end
  1846. while wait(.1) do
  1847. end
  1848. end
  1849.  
  1850.  
  1851. while not game.Players.LocalPlayer do
  1852. wait(.1)
  1853. end
  1854.  
  1855. while not game.Players.LocalPlayer.Character do
  1856. wait(.1)
  1857. end
  1858.  
  1859. while not game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") do
  1860. wait(.1)
  1861. end
  1862.  
  1863. while not game.Players.LocalPlayer.Character:FindFirstChild("Humanoid") do
  1864. wait(.1)
  1865. end
  1866.  
  1867. while not workspace:FindFirstChild(game.Players.LocalPlayer.Name) do
  1868. wait(.1)
  1869. end
  1870. -- dungeon specific waits
  1871. while not workspace:FindFirstChild("dungeon") and not workspace:FindFirstChild("tier") and not workspace:FindFirstChild("currentWave") do
  1872. wait(1)
  1873. end
  1874.  
  1875. while not game:GetService("Workspace"):FindFirstChild("dungeonProgress") and not game:GetService("Workspace"):FindFirstChild("raidProgress") do
  1876. wait()
  1877. end
  1878.  
  1879. wait(.5)
  1880.  
  1881.  
  1882. local pathargs = {
  1883. ["AgentHeight"] = 5,
  1884. ["AgentRadius"] = 3,
  1885. ["AgentCanJump"] = true
  1886. }
  1887. local PathfindingService = gamer[2]
  1888. local cs = gamer[1]
  1889. local localPlayer = game.Players.LocalPlayer.Character
  1890. local path = PathfindingService:CreatePath(pathargs)
  1891. local waypoints = {}
  1892. local currentWaypointIndex = 0
  1893. local weaponCooldown = 1
  1894. local enemy
  1895. local ballArray = {}
  1896.  
  1897. function stringInTable(st, tb)
  1898. if tb[st] ~= nil then return true else return false end
  1899. for i,v in pairs(tb) do
  1900. if st == v then
  1901. return true
  1902. end
  1903. end
  1904. return false
  1905. end
  1906.  
  1907.  
  1908. local function createWall(cf, sz)
  1909. if _G.loadSlow then
  1910. game:GetService("RunService").RenderStepped:wait()
  1911. end
  1912. local part = Instance.new("Part")
  1913. cs:AddTag(part, "RayWhitelist")
  1914. part.Size = sz
  1915. part.CFrame = cf
  1916. part.Color = Color3.new(1, 0, 0)
  1917. part.Name = regionPartName
  1918. part.Anchored = true
  1919. part.Transparency = _G.wall_transparency--stuffTransparency
  1920. part.CanCollide = true
  1921. part.Parent = workspace
  1922. return part
  1923. end
  1924.  
  1925. local function createWall_with_orient(cf, sz, xd)
  1926. if _G.loadSlow then
  1927. game:GetService("RunService").RenderStepped:wait()
  1928. end
  1929. local part = Instance.new("Part")
  1930. cs:AddTag(part, "RayWhitelist")
  1931. part.Size = sz
  1932. part.Position = cf
  1933. part.Color = Color3.new(0, 1, 1)
  1934. part.Orientation = xd
  1935. part.Name = regionPartName
  1936. part.Anchored = true
  1937. part.Transparency = _G.wall_transparency--stuffTransparency
  1938. part.CanCollide = true
  1939. part.Parent = workspace
  1940. return part
  1941. end
  1942.  
  1943. local function antiTransChange(property)
  1944. report("ANTI SKID, TransChange", property)
  1945. end
  1946.  
  1947. local function antiChildChange(child)
  1948. if child.ClassName ~= "TouchTransmitter" then
  1949. report("ANTI SKID, ChildChange", child)
  1950. end
  1951. end
  1952.  
  1953. local function createPart(cframe, size, name, shape) -- this is the part we walk to
  1954. local part = Instance.new("Part")
  1955. part.Shape = shape
  1956. cs:AddTag(part, "RayIgnore")
  1957. part.Material = "Neon"
  1958. if _G.showPath then
  1959. part.Transparency = 0
  1960. else
  1961. part.Transparency = stuffTransparency
  1962. end
  1963.  
  1964. part.Size = size
  1965. part.CFrame = cframe
  1966. part.Name = name
  1967. part.Anchored = true
  1968. part.CanCollide = false
  1969. part.Parent = workspace
  1970. part.Color = Color3.new(0, 1, 1)
  1971. part:GetPropertyChangedSignal("Transparency"):Connect(antiTransChange)
  1972. part.ChildAdded:Connect(antiChildChange)
  1973. return part
  1974. end
  1975.  
  1976. local function createHitBoxPart(size, cframe, obj)
  1977. local part = Instance.new("Part")
  1978. cs:AddTag(part, "RayIgnore")
  1979. part.Size = size
  1980. part.CFrame = cframe
  1981. part.Parent = obj
  1982. part.Name = "enemyRadius"
  1983. part.Anchored = false
  1984. part.CanCollide = false
  1985. part.Material = "SmoothPlastic"
  1986. part.Color = Color3.new(0, 1, 1)
  1987. part.Transparency = stuffTransparency
  1988. part:GetPropertyChangedSignal("Transparency"):Connect(antiTransChange)
  1989. part.ChildAdded:Connect(antiChildChange)
  1990. part.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1991. local weld = Instance.new("WeldConstraint")
  1992. if obj.ClassName == "Model" then
  1993. weld.Part1 = obj.PrimaryPart
  1994. else
  1995. weld.Part1 = obj
  1996. end
  1997. weld.Part0 = part
  1998. weld.Parent = obj
  1999. return part
  2000. end
  2001.  
  2002. local function addHitBox(obj, size, shape)
  2003. local psize, cframe
  2004. if shape == nil then
  2005. local t = {
  2006. {size, size}, {0, size}, {-size, size},
  2007. {size, 0}, {-size, 0},
  2008. {size, -size}, {0, -size}, {-size, -size},
  2009. }
  2010. for i,v in pairs(t) do
  2011. psize = Vector3.new(1, 1, (size))
  2012. local pos1 = (obj.PrimaryPart.CFrame * CFrame.new(v[1],0,v[2])).Position
  2013. cframe = CFrame.new(pos1, obj.PrimaryPart.Position)
  2014. cframe = cframe * CFrame.new(0,0,(-size/2) + 2)
  2015. createHitBoxPart(psize, cframe, obj)
  2016. end
  2017. elseif shape =="square" then -- this is for when things shoot ball projectiles
  2018. psize = Vector3.new(size, size, size)
  2019. cframe = CFrame.new(0,0,0)
  2020. if obj.ClassName == "Model" then
  2021. obj:WaitForChild("PrimaryPart", .5)
  2022. cframe = obj.PrimaryPart.CFrame
  2023. else
  2024. cframe = obj.CFrame
  2025. end
  2026. createHitBoxPart(psize, cframe, obj)
  2027. elseif shape == "rectangle" then
  2028. psize = Vector3.new(size, size, size) -- create square around projectile
  2029. cframe = CFrame.new(0,0,0)
  2030. if obj.ClassName == "Model" then
  2031. obj:WaitForChild("PrimaryPart", .5)
  2032. cframe = obj.PrimaryPart.CFrame
  2033. else
  2034. cframe = obj.CFrame
  2035. end
  2036. createHitBoxPart(psize, cframe, obj)
  2037.  
  2038. psize = Vector3.new(1, size, size*2)
  2039. cframe = CFrame.new(0,0,0)
  2040. if obj.ClassName == "Model" then -- add the pointy thing
  2041. obj:WaitForChild("PrimaryPart", .5)
  2042. cframe = obj.PrimaryPart.CFrame * CFrame.new(0, 0, (size - 5) * -1)
  2043. else
  2044. cframe = obj.CFrame * CFrame.new(0, 0, (size - 5) * -1)
  2045. end
  2046. createHitBoxPart(psize, cframe, obj)
  2047.  
  2048. elseif shape == "rectanglev2" then
  2049. psize = Vector3.new(size, size, size)
  2050. cframe = CFrame.new(0,0,0)
  2051. if obj.ClassName == "Model" then
  2052. obj:WaitForChild("PrimaryPart", .5)
  2053. cframe = obj.PrimaryPart.CFrame
  2054. else
  2055. cframe = obj.CFrame
  2056. end
  2057. createHitBoxPart(psize, cframe, obj)
  2058.  
  2059. psize = Vector3.new(size, size, size)
  2060. cframe = CFrame.new(0,0,0)
  2061. if obj.ClassName == "Model" then
  2062. obj:WaitForChild("PrimaryPart", .5)
  2063. cframe = (obj.PrimaryPart.CFrame * CFrame.new(0, 0, (size - 10) * -1)) * CFrame.Angles(math.rad(45), 0,math.rad(90))
  2064. else
  2065. cframe = (obj.CFrame * CFrame.new(0, 0, (size - 10) * -1))* CFrame.Angles(math.rad(45), 0,math.rad(90))
  2066. end
  2067. createHitBoxPart(psize, cframe, obj)
  2068. elseif shape == "rectanglev3" then
  2069. psize = Vector3.new(size, size, size)
  2070. cframe = CFrame.new(0,0,0)
  2071. if obj.ClassName == "Model" then
  2072. obj:WaitForChild("PrimaryPart", .5)
  2073. cframe = obj.PrimaryPart.CFrame
  2074. else
  2075. cframe = obj.CFrame
  2076. end
  2077. createHitBoxPart(psize, cframe, obj)
  2078.  
  2079. psize = Vector3.new(size -5 , size - 5, size - 5)
  2080. cframe = CFrame.new(0,0,0)
  2081. if obj.ClassName == "Model" then
  2082. obj:WaitForChild("PrimaryPart", .5)
  2083. cframe = (obj.PrimaryPart.CFrame * CFrame.new(0, 0, (size - 5) * -1)) * CFrame.Angles(0, math.rad(45),0)
  2084. else
  2085. cframe = (obj.CFrame * CFrame.new(0, 0, (size - 5) * -1))* CFrame.Angles(0, math.rad(45),0)
  2086. end
  2087. createHitBoxPart(psize, cframe, obj)
  2088.  
  2089. elseif shape == "rectangle-2" then -- rectnagle with no offset
  2090. psize = Vector3.new(size, size, size)
  2091. cframe = CFrame.new(0,0,0)
  2092. if obj.ClassName == "Model" then
  2093. obj:WaitForChild("PrimaryPart", .5)
  2094. cframe = obj.PrimaryPart.CFrame
  2095. cframe = cframe * CFrame.Angles(0, math.rad(45), 0)
  2096. else
  2097. cframe = obj.CFrame
  2098. cframe = cframe * CFrame.Angles(0, math.rad(45), 0)
  2099. end
  2100. createHitBoxPart(psize, cframe, obj)
  2101. end
  2102. end
  2103.  
  2104. local function cleanMobUp(t)
  2105. if _G.optimize_mobs then
  2106. for i,v in pairs(t:GetChildren()) do
  2107. if v.ClassName == "Model" or v.ClassName == "Accessory" or v.ClassName == "MeshPart" then
  2108. v:Destroy()
  2109. end
  2110. end
  2111. if t:FindFirstChild("HumanoidRootPart") then
  2112. t.HumanoidRootPart.Transparency = 0
  2113. end
  2114. if t:FindFirstChild("Head") then
  2115. t.Head.Transparency = 0
  2116. end
  2117. end
  2118. end
  2119.  
  2120. local function _initHitBox(instance)
  2121. if instance.ClassName == "Model" then
  2122. while instance.PrimaryPart == nil do wait() end
  2123. while not instance:FindFirstChild(instance.PrimaryPart.Name) do wait() end
  2124. instance:WaitForChild("HumanoidRootPart")
  2125. instance:WaitForChild("enemyStyle", 1.5)
  2126. if not instance:FindFirstChild("enemyStyle") then print('no enemy style') return end
  2127. local mobType = instance.enemyStyle.Value
  2128. if mobType == "mob" or mobType == "ranged" or mobType == "melee" or mobType == "burly" then --f if mob
  2129. if eggEvent then -- egg event only has one tag on each mob
  2130. while (#cs:GetTags(instance) == 0) do
  2131. wait(.1)
  2132. end
  2133. else
  2134. while (#cs:GetTags(instance) < 2) do -- normally each mob has two
  2135. ScriptDebug("waiting for mob to add tag" )
  2136. wait(.1)
  2137. end
  2138. end
  2139. cs:AddTag(instance, "Enemy")
  2140. if _G.doInstakill then
  2141. if instance:FindFirstChild("Humanoid") and instakillTable[instance.Name] then
  2142. instance.Humanoid.Health = 0
  2143. end
  2144. end
  2145. if mobType ~= "ranged" then
  2146. if game.PlaceId == 5281215714 then -- if volcanic mob
  2147. if instance.Name == "Explosive Lava Walker" or instance.Name == "Aggressive Lava Walker" then
  2148. addHitBox(instance, 8.5)
  2149. end
  2150. elseif game.PlaceId == 6216785535 then
  2151. if instance.Name == "Temple Guard" then
  2152. addHitBox(instance, 3)
  2153. end
  2154. else
  2155. addHitBox(instance, 7)
  2156. end
  2157. end
  2158. else -- if not mob then
  2159. if eggEvent then -- egg event has 0 tagso n boss
  2160. while #cs:GetTags(instance) ~= 0 do
  2161. wait()
  2162. end
  2163. else
  2164. while #cs:GetTags(instance) < 1 do
  2165. wait()
  2166. end
  2167. end
  2168. if _G.doInstakill then
  2169. if instance:FindFirstChild("Humanoid") and instakillTable[instance.Name] then
  2170. instance.Humanoid.Health = 0
  2171. end
  2172. end
  2173. cs:AddTag(instance, "Enemy")
  2174. end
  2175. end
  2176. end
  2177.  
  2178. local function initHitBox()
  2179. if workspace:FindFirstChild("tier") or workspace:FindFirstChild("currentWave") then -- boss raid or wave defense ( they work the same )
  2180. workspace.enemies.ChildAdded:Connect(function(instance)
  2181. if instance.Name == "Stone Warrior" then -- instakill in mob folder
  2182. instance:WaitForChild("Humanoid")
  2183. addHitBox(instance, 5)
  2184. wait(1)
  2185. instance.Humanoid.Health = 0
  2186. else
  2187. _initHitBox(instance)
  2188. cleanMobUp(instance)
  2189. end
  2190. end)
  2191. else
  2192. for i,room in pairs(workspace.dungeon:GetChildren()) do -- normal dungeon handler
  2193. if room:FindFirstChild("enemyFolder") then
  2194. local efold = room:FindFirstChild("enemyFolder")
  2195. if efold then
  2196. local e = efold:FindFirstChildOfClass("Model")
  2197. if e then
  2198. if e:FindFirstChild("Humanoid") then -- if folder already has mobs then add hit box
  2199. wait(.5)
  2200. for i,instance in pairs(efold:GetChildren()) do
  2201. _initHitBox(instance)
  2202. cleanMobUp(instance)
  2203. end
  2204. end
  2205. end
  2206. efold.ChildAdded:Connect(function(instance) -- all future folders, if mob spawned, give hitbox
  2207. _initHitBox(instance)
  2208. cleanMobUp(instance)
  2209. end)
  2210. end
  2211. end
  2212. end
  2213. end
  2214. end
  2215.  
  2216. local projNameList = {} -- important
  2217. local enemyProjNameList = {}
  2218.  
  2219. local function updateProjsList()
  2220. if game.ReplicatedStorage:FindFirstChild("projectiles") then
  2221. local n1 = game:GetService("ReplicatedStorage").projectiles:GetChildren()
  2222. local n2 = game:GetService("ReplicatedStorage").enemyProjectiles:GetChildren()
  2223. for i,v in pairs(n1) do
  2224. projNameList[v.Name] = true
  2225. end
  2226. for i,v in pairs(n2) do
  2227. enemyProjNameList[v.Name] = true
  2228. end
  2229. enemyProjNameList["secondBossSlamHitbox"] = true
  2230. end
  2231. end
  2232.  
  2233. updateProjsList()
  2234.  
  2235. local function createBall(vector) -- balls that pathfinding places
  2236. local part = Instance.new("Part")
  2237. cs:AddTag(part, "RayIgnore")
  2238. part.Shape = "Ball"
  2239. part.Material = "Neon"
  2240. part.Size = Vector3.new(0.6, 0.6, 0.6)
  2241. part.Position = vector
  2242. part.Anchored = true
  2243. part.CanCollide = false
  2244. part.Name = regionPartName
  2245. part.Parent = game.Workspace
  2246. part.Color = Color3.new(0, 1, 1)
  2247. part.Transparency = 0
  2248. ballArray[#ballArray+1] = part
  2249. end
  2250.  
  2251. local thePart = createPart(CFrame.new(0, 1, 1), Vector3.new(3,3,3), regionPartName, "Block")
  2252. local selectionBox = Instance.new("SelectionBox")
  2253.  
  2254. local function getMag(vector1, vector2)
  2255. -- removes sqrt because time, reduces function complexity
  2256. local newV2 = Vector3.new(vector2.X, vector1.Y, vector2.Z)
  2257. --return (vector1 - newV2).magnitude
  2258. return (vector1 - vector2).magnitude
  2259. --return ((vector1.X - vector2.X)^2)+((vector1.Y - vector2.Y)^2)+((vector1.Z - vector2.Z)^2)
  2260. end
  2261.  
  2262. local function getPlayer()
  2263. local play, chara, hum, root = nil, nil, nil, nil
  2264. while not game.Players.LocalPlayer do
  2265. wait()
  2266. end
  2267. if game.Players.LocalPlayer then
  2268. play = game.Players.LocalPlayer
  2269. while not game.Players.LocalPlayer.Character do
  2270. wait()
  2271. end
  2272. if game.Players.LocalPlayer.Character then
  2273. chara = game.Players.LocalPlayer.character
  2274. while not game.Players.LocalPlayer.Character:FindFirstChild("Humanoid") do
  2275. wait()
  2276. end
  2277. if game.Players.LocalPlayer.Character:FindFirstChild("Humanoid") then
  2278. hum = game.Players.LocalPlayer.Character.Humanoid
  2279. end
  2280. while not game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") do
  2281. wait()
  2282. end
  2283. if game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
  2284. root = game.Players.LocalPlayer.Character.HumanoidRootPart
  2285. end
  2286. end
  2287. end
  2288. return play, chara, hum, root
  2289. end
  2290.  
  2291. -- discord webhook stuff
  2292. local webhookLocals = {
  2293. itemsEarned = {},
  2294. startingInventory = getPlayerInvy(game.Players.LocalPlayer),
  2295. dungeonName = nil,
  2296. timeLeft = nil,
  2297. endingInventory = nil,
  2298. colorTable = {
  2299. ['legendary'] = "16426522",
  2300. ['epic'] = "14031610",
  2301. ['rare'] = "39423",
  2302. ['uncommon'] = "2096896",
  2303. ['common'] = "15859184",
  2304. }
  2305. }
  2306.  
  2307. function Format(Int)
  2308. return string.format("%02i", Int)
  2309. end
  2310.  
  2311. local function convertToHMS(Seconds)
  2312. local Minutes = (Seconds - Seconds%60)/60
  2313. Seconds = Seconds - Minutes*60
  2314. return Format(Minutes)..":"..Format(Seconds)
  2315. end
  2316.  
  2317. local function sendWebhookItem()
  2318. (syn and syn.request or http_request) {
  2319. Url = _G.webhookLink;
  2320. Method = 'POST';
  2321. Headers = {
  2322. ['Content-Type'] = 'application/json';
  2323. };
  2324. Body = game:GetService'HttpService':JSONEncode( { embeds = webhookLocals.itemsEarned } );
  2325. };
  2326. end
  2327.  
  2328. local function capFirstLetter(word)
  2329. local done = ""
  2330. local firstLetter = word:sub(1,1) --get the 1st letter of the word
  2331. local theRest = word:sub(2) --grt everything except the first letter
  2332. return firstLetter:upper() .. theRest
  2333. end
  2334.  
  2335.  
  2336. local function getNewItems(firstTable, secondTable)
  2337. for i ,item in pairs (secondTable) do
  2338. if firstTable[i] then
  2339. else
  2340. local s = {}
  2341. s.description = "```\n"..capFirstLetter(item.name).."```"
  2342. s.color = webhookLocals.colorTable[item.rarity]
  2343. table.insert(webhookLocals.itemsEarned, s)
  2344. end
  2345. end
  2346. end
  2347.  
  2348.  
  2349. local function webHookOnEnd()
  2350. if _G.webhookEnabled then
  2351. webhookLocals.timeLeft = convertToHMS(workspace.timeLeft.Value)
  2352. webhookLocals.itemsEarned = {
  2353. {
  2354. color = '14031610';
  2355. author = {
  2356. name = 'ur mom Item Notifier';
  2357. };
  2358. fields = {
  2359. {
  2360. name = "Dungeon: ",
  2361. value = tostring(webhookLocals.dungeonName)
  2362. },
  2363. {
  2364. name = "Clear Time: ",
  2365. value = webhookLocals.timeLeft
  2366. },
  2367. };
  2368. },
  2369. };
  2370. wait(2)
  2371. print('doing webhook')
  2372. webhookLocals.endingInventory = getPlayerInvy(game.Players.LocalPlayer)
  2373. getNewItems(webhookLocals.startingInventory.weapons, webhookLocals.endingInventory.weapons)
  2374. getNewItems(webhookLocals.startingInventory.abilities, webhookLocals.endingInventory.abilities)
  2375. getNewItems(webhookLocals.startingInventory.chests, webhookLocals.endingInventory.chests)
  2376. getNewItems(webhookLocals.startingInventory.helmets, webhookLocals.endingInventory.helmets)
  2377. sendWebhookItem()
  2378. print('done webhook')
  2379. end
  2380. end
  2381.  
  2382. -- discord webhook stuff ending
  2383.  
  2384. if workspace:FindFirstChild("dungeonProgress") then
  2385. game:GetService("Workspace"):FindFirstChild("dungeonProgress").Changed:Connect(function(NewValue)
  2386. if NewValue ~= "" and NewValue ~= "inProgress" and NewValue ~= "playersNotReady" then
  2387. gameOver = true
  2388. if regionTable ~= nil then
  2389. for i,v in pairs(regionTable) do
  2390. for j, k in pairs(v) do
  2391. regionTable[i][j]['obj']:Destroy()
  2392. end
  2393. end
  2394. end
  2395. if readyPartTable ~= nil then
  2396. for i,v in pairs(readyPartTable) do
  2397. v:Destroy()
  2398. end
  2399. end
  2400. spawn(webHookOnEnd)
  2401. print('set timeout')
  2402. wait(.5)
  2403. game:GetService("ScriptContext"):SetTimeout(0)
  2404. end
  2405. end)
  2406. elseif workspace:FindFirstChild("raidPorgress") then
  2407. game:GetService("Workspace"):FindFirstChild("raidProgress").Changed:Connect(function(NewValue)
  2408. if NewValue ~= "" and NewValue ~= "inProgress" and NewValue ~= "playersNotReady" then
  2409. gameOver = true
  2410. if regionTable ~= nil then
  2411. for i,v in pairs(regionTable) do
  2412. for j, k in pairs(v) do
  2413. regionTable[i][j]['obj']:Destroy()
  2414. end
  2415. end
  2416. end
  2417. if readyPartTable ~= nil then
  2418. for i,v in pairs(readyPartTable) do
  2419. v:Destroy()
  2420. end
  2421. end
  2422. spawn(webHookOnEnd)
  2423. print('set timeout')
  2424. wait(.5)
  2425. game:GetService("ScriptContext"):SetTimeout(0)
  2426. end
  2427. end)
  2428.  
  2429. end
  2430.  
  2431.  
  2432. function SelectBoxChange(adornee)
  2433. selectionBox.Adornee = adornee
  2434. selectionBox.Color3 = Color3.new(1,0,0)
  2435. selectionBox.Parent = adornee
  2436. end
  2437.  
  2438. local function findCloseEnemy()
  2439. local bestMob = nil
  2440. local bestDist = math.huge
  2441. if #cs:GetTagged("Prio-Enemy") > 0 then
  2442. return cs:GetTagged("Prio-Enemy")[1]
  2443. end
  2444. while #cs:GetTagged("Enemy") < 1 do
  2445. -- script should enter a dodge mode
  2446. ScriptDebug("Waiting for enemies...")
  2447. content_3.Text = "Target : nil"
  2448. if extremelyFast then
  2449. game:GetService("RunService").RenderStepped:wait()
  2450. else
  2451. wait()
  2452. end
  2453. end
  2454. while bestMob == nil do
  2455. local enemies = cs:GetTagged("Enemy")
  2456. local _, _, _, root = getPlayer()
  2457. for i, mob in pairs(enemies) do
  2458. if mob and mob:FindFirstChild("HumanoidRootPart") and root ~= nil then
  2459. local dst = getMag(root.Position, mob.HumanoidRootPart.Position)
  2460. if dst < bestDist then
  2461. bestMob = mob
  2462. bestDist = dst
  2463. end
  2464. end
  2465. end
  2466. if bestMob ~= nil then break end
  2467. if extremelyFast then
  2468. game:GetService("RunService").RenderStepped:wait()
  2469. else
  2470. wait()
  2471. end
  2472. end
  2473. if _G.showTarget then
  2474. SelectBoxChange(bestMob.HumanoidRootPart)
  2475. end
  2476. --targetPart.CFrame = bestMob.HumanoidRootPart.CFrame * CFrame.new(0,5,0)
  2477. return bestMob
  2478. end
  2479.  
  2480.  
  2481. function charLookAt(chr,target) --assume chr is a character and target is a brick to look towards
  2482. if chr.PrimaryPart and target then --just make sure the character's HRP has loaded
  2483. if target:FindFirstChild("HumanoidRootPart") or target then
  2484. local chrPos=chr.PrimaryPart.Position --get the position of the HRP
  2485. local tPos=target.Position --get the position of the target
  2486. local newCF=CFrame.new(Vector3.new(chrPos.x,chrPos.y,chrPos.z),Vector3.new(tPos.x,chrPos.y,tPos.z))--create our CFrame
  2487. chr:SetPrimaryPartCFrame(newCF) --set the HRP's CFrame to our result, thus moving the character!
  2488. end
  2489. end
  2490. end
  2491.  
  2492. local function clearBalls()
  2493. for i, v in pairs(ballArray) do
  2494. v:Destroy()
  2495. end
  2496. ballArray = {}
  2497. end
  2498.  
  2499.  
  2500. local function followPath(position)
  2501. local root = game.Players.LocalPlayer.Character.HumanoidRootPart
  2502. local hum = game.Players.LocalPlayer.Character.Humanoid
  2503. path:ComputeAsync(root.Position, position)
  2504. waypoints = {}
  2505. if path.Status == Enum.PathStatus.Success then
  2506. waypoints = path:GetWaypoints()
  2507. if sDebug then
  2508. clearBalls()
  2509. for i, v in pairs(waypoints) do
  2510. createBall(v.Position)
  2511. end
  2512. end
  2513. currentWaypointIndex = 2
  2514. if waypoints[currentWaypointIndex] == Enum.PathWaypointAction.Jump then
  2515. hum.Jump = true
  2516. end
  2517. hum:MoveTo(waypoints[currentWaypointIndex].Position)
  2518.  
  2519. else
  2520. print('path not success')
  2521. if enemy == nil then
  2522. warn("nil")
  2523. elseif enemy then
  2524. hum:MoveTo(enemy.PrimaryPart.Position)
  2525. elseif root then
  2526. hum:MoveTo(root.Position)
  2527. end
  2528. end
  2529. end
  2530.  
  2531. local function onWaypointReached(reached)
  2532. local play, chara, hum, root = getPlayer()
  2533. if chara ~= nil and hum ~= nil and reached and currentWaypointIndex < #waypoints then
  2534. currentWaypointIndex = currentWaypointIndex + 1
  2535. if game:FindFirstChild(enemy) and enemy:FindFirstChild("HumanoidRootPart") then
  2536. charLookAt(chara, enemy.HumanoidRootPart)
  2537. end
  2538. hum:MoveTo(waypoints[currentWaypointIndex].Position)
  2539. elseif chara ~= nil and hum ~= ni then
  2540. if game:FindFirstChild(enemy) and enemy:FindFirstChild("HumanoidRootPart") then
  2541. charLookAt(chara, enemy.HumanoidRootPart)
  2542. end
  2543. end
  2544. end
  2545.  
  2546. local function onPathBlocked(blockedWaypointIndex)
  2547. print('path blocked')
  2548. local play, chara, hum, root = getPlayer()
  2549. if chara ~= nil and enemy ~= nil then
  2550. charLookAt(chara, enemy.HumanoidRootPart)
  2551. end
  2552. if blockedWaypointIndex > currentWaypointIndex then
  2553. followPath(destination)
  2554. end
  2555. end
  2556.  
  2557. local function rayCollectionService()
  2558. local play, chara, hum, root = getPlayer()
  2559. if chara == nil then return end
  2560. cs:AddTag(chara, "RayIgnore")
  2561. cs:AddTag(workspace.Terrain, "RayWhitelist")
  2562. if workspace:FindFirstChild("tier") then -- boss raid
  2563. for i,v in pairs(game:GetService("Workspace").mapModel:GetChildren()) do
  2564. if v.ClassName == "Part" or v.ClassName == "UnionOperation" or v.ClassName == "WedgePart" then
  2565. if v ~= chara and v.Name ~= regionPartName and v.Transparency < 1 and v.Name ~= "enemyRadius" then
  2566. cs:AddTag(v, "RayWhitelist")
  2567. end
  2568. elseif v.ClassName == "Model" then
  2569. if v ~= chara then
  2570. cs:AddTag(v, "RayWhitelist")
  2571. end
  2572. end
  2573. end
  2574. elseif workspace:FindFirstChild("currentWave") then -- wave defense
  2575. for i,v in pairs(workspace:GetChildren()) do
  2576. if string.find(v.Name, "Arena") then
  2577. cs:AddTag(v, "RayWhitelist")
  2578. end
  2579. end
  2580. else -- normal dungeon
  2581. local dun = waitForExist(workspace, "dungeon")
  2582. for i,room in pairs(dun:GetChildren()) do
  2583. for j, v in pairs(room:GetChildren()) do
  2584. if v.ClassName == "Part" or v.ClassName == "UnionOperation" or v.ClassName == "WedgePart" then
  2585. if v.Transparency < 1 then
  2586. cs:AddTag(v, "RayWhitelist")
  2587. end
  2588. elseif v.ClassName == "Model" then
  2589. cs:AddTag(v, "RayWhitelist")
  2590. end
  2591. end
  2592. end
  2593. for i,v in pairs(workspace:GetChildren()) do
  2594. if v.ClassName == "Part" or v.ClassName == "UnionOperation" or v.ClassName == "WedgePart" then
  2595. if v ~= chara and v.Name ~= regionPartName and v.Transparency < 1 and v.Name ~= "enemyRadius" then
  2596. cs:AddTag(v, "RayWhitelist")
  2597. end
  2598. elseif v.ClassName == "Model" then
  2599. if v ~= chara then
  2600. cs:AddTag(v, "RayWhitelist")
  2601. end
  2602. end
  2603. end
  2604. end
  2605. end
  2606.  
  2607.  
  2608. local function lookAt(target, eye)
  2609. local forwardVector = (target - eye).Unit
  2610. local upVector = Vector3.new(0, 1, 0)
  2611. -- Remember the right-hand rule
  2612. local rightVector = forwardVector:Cross(upVector)
  2613. local upVector2 = rightVector:Cross(forwardVector)
  2614.  
  2615. return CFrame.fromMatrix(eye, rightVector, upVector2)
  2616. end
  2617.  
  2618. function round(num)
  2619. return math.floor(num + 0.5)
  2620. end
  2621.  
  2622. function roundVector(vector)
  2623. return Vector3.new(round(vector.X), round(vector.Y), round(vector.Z))
  2624. end
  2625.  
  2626. local oldTargetPos = Vector3.new(0,0,0)
  2627. local targetPos = Vector3.new(1,0,0)
  2628. local function makePath(target, value)
  2629. if value == nil then value = false end
  2630. local play, chara, hum, root = getPlayer()
  2631. if target.ClassName == "Model" and target.PrimaryPart then
  2632. targetPos = roundVector(target.PrimaryPart.Position)
  2633. elseif target then
  2634. targetPos = roundVector(target.Position)
  2635. end
  2636. if hum ~= nil and root ~= nil then
  2637. oldTargetPos = targetPos
  2638. destination = targetPos
  2639. if value then
  2640. if enemy ~= nil then
  2641. charLookAt(chara, enemy.PrimaryPart)
  2642. end
  2643. spawn(clearBalls)
  2644. hum:MoveTo(targetPos)
  2645. else
  2646. followPath(targetPos)
  2647. end
  2648. end
  2649. end
  2650.  
  2651. function visualRay(long)
  2652. local p = Instance.new("Part")
  2653. cs:AddTag(p, "RayIgnore")
  2654. p.Size = Vector3.new(2,2,2)
  2655. p.Name = "Ray"
  2656. p.Anchored = true
  2657. p.Material = "Neon"
  2658. p.CanCollide = false
  2659. p.Parent = workspace
  2660. local Debris = game:GetService("Debris")
  2661. Debris:AddItem(p, long)
  2662. return p
  2663. end
  2664.  
  2665. function rayCast(sCF, eCF, ignoreName, whitelist)
  2666. local endGoal = eCF.p
  2667. local start = sCF.p
  2668. local Ray = Ray.new(start, (endGoal - start))
  2669. local list = cs:GetTagged(ignoreName)
  2670. local part, hitPosition
  2671. if whitelist then
  2672. part, hitPosition = workspace:FindPartOnRayWithWhitelist(Ray,list)
  2673. else
  2674. part, hitPosition = workspace:FindPartOnRayWithIgnoreList(Ray,list)
  2675. end
  2676. --if ignoreName == "directionWL" then
  2677. --[[ ray visualize
  2678. local p = visualRay(.005)
  2679. local distance = (start - hitPosition).Magnitude
  2680. p.Size = Vector3.new(0.3, 0.3, distance)
  2681. p.CFrame = lookAt(start, hitPosition)*CFrame.new(0, 0, -distance/2)
  2682. end]]
  2683.  
  2684. return hitPosition, part
  2685. end
  2686. -- false is blacklist, true is whitelist
  2687. local whiteListBlackList = {
  2688. ["laserBeam"] = true,
  2689. ["bossRiflePreCast"] = true,
  2690. ["bossRifleShot"] = true,
  2691. ["hitIndicatorIceAOE"] = true,
  2692. ["iceBeamIndicator"] = true,
  2693. ["projectile"] = true,
  2694. ["mageProjectileBall"] = true,
  2695. ["thirdBossSafeSpots"] = true,
  2696. ["secondBossOrb"] = true,
  2697. ["thirdBossOrbShot"] = true,
  2698. ["spikePrecast"] = true,
  2699. ["kolvumarTrail"] = true,
  2700. ["Kraken Tentacle"] = true,
  2701. ["secondBossRandomSquare"] = true,
  2702. ["initialMageBossEntry"] = false,
  2703. ["initialKingBossEntry"] = false,
  2704. ["initialHunterBossEntry"] = false,
  2705. ["thirdBossSafeSpot"] = false,
  2706. ["forceField"] = false,
  2707. ["safeSpotCircle"] = false,
  2708. ["secondBossSafeSpots"] = false
  2709.  
  2710. }
  2711. local lastCheckList = {
  2712. ["glowPart"] = true,
  2713. ["outerPrecast"] = true,
  2714. ["beam"] = true,
  2715. ["Beam"] = true,
  2716. ["precast"] = true,
  2717. ["preCast"] = true,
  2718. ["HumanoidRootPart"] = true
  2719. }
  2720.  
  2721. local checkProjResult = nil
  2722. local checkProjResult1 = nil
  2723. local checkProjResult2 = nil
  2724. local projNameTemp = nil
  2725. local projNameParentTemp = nil
  2726.  
  2727. local function checkIfProjectile(obj)
  2728. projNameTemp = obj.Name
  2729. if projNameTemp == "enemyRadius" then
  2730. return true
  2731. end
  2732. if obj.Transparency == 1 then
  2733. return false
  2734. end
  2735.  
  2736. checkProjResult = whiteListBlackList[projNameTemp]
  2737. if checkProjResult ~= nil then
  2738. if checkProjResult then
  2739. return checkProjResult
  2740. end
  2741. end
  2742. projNameParentTemp = obj.Parent
  2743. checkProjResult1 = whiteListBlackList[obj.Parent.Name]
  2744. if checkProjResult1 ~= nil then
  2745. return checkProjResult1
  2746. end
  2747.  
  2748. if stringInTable(projNameTemp, projNameList) then
  2749. return false
  2750. end
  2751.  
  2752. checkProjResult2 = lastCheckList[projNameTemp]
  2753. if checkProjResult2 ~= nil and (obj.ClassName == "Part" ) and projNameParentTemp ~= game.Players.LocalPlayer.Character and (checkProjResult2) then --or obj.ClassName == "Union"
  2754. return true
  2755. else
  2756. return false
  2757. end
  2758. end
  2759.  
  2760.  
  2761. local regionPartSize = 4
  2762. local regionStartSize = 5--5
  2763. local regionPartDivisor = 1.4--1.5
  2764. local readyPartTable = {}
  2765. local randomNum = math.random(0,4)
  2766. local function createRegionPart()
  2767. if _G.loadSlow then
  2768. game:GetService("RunService").RenderStepped:wait()
  2769. end
  2770. local part = Instance.new("Part")
  2771. cs:AddTag(part, "RayIgnore")
  2772. part.Size = Vector3.new(regionPartSize, 50, regionPartSize)
  2773. part.CFrame = CFrame.new(0,100,0)
  2774. part.Name = regionPartName
  2775. part.Anchored = true
  2776. part.CanCollide = false
  2777. part.Material = "SmoothPlastic"
  2778. part.Transparency = stuffTransparency --.9
  2779. part:GetPropertyChangedSignal("Transparency"):Connect(antiTransChange)
  2780. part.ChildAdded:Connect(antiChildChange)
  2781. part.BrickColor = BrickColor.new("Black")
  2782.  
  2783. if randomNum == 0 then
  2784. if workspace:FindFirstChild("hardcore") then
  2785. part.Parent = workspace.hardcore
  2786. else
  2787. part.Parent = workspace.raidProgress
  2788. end
  2789. elseif randomNum== 1 then
  2790. part.Parent = workspace.timeLeft
  2791. elseif randomNum == 2 then
  2792. part.Parent = workspace.stats
  2793. elseif randomNum==3 then
  2794. if workspace:FindFirstChild("start") then
  2795. part.Parent = workspace.start
  2796. else
  2797. part.Parent = workspace.dungeonStarted
  2798. end
  2799. elseif randomNum == 4 then
  2800. part.Parent = workspace.Camera
  2801. end
  2802.  
  2803.  
  2804. local connection = part.Touched:Connect(function() end)
  2805. insert(readyPartTable, part)
  2806. return part
  2807. end
  2808.  
  2809. local function getTableSetup(size)
  2810. local t = {}
  2811. for j = 1, size do -- these loops actually make the table
  2812. for l = 1, size do
  2813. if t[j] == nil then -- if not obj, make obj
  2814. t[j] = {}
  2815. end
  2816. if t[j][l] == nil then -- if not obj, make obj
  2817. t[j][l] = {['obj'] = nil, ['safe'] = nil}
  2818. end
  2819. end
  2820. end
  2821. return t
  2822. end
  2823.  
  2824. local function createInitalRegionTable(size)
  2825. --441
  2826. for i= 1, 441 do
  2827. createRegionPart()
  2828. end
  2829. local root = game.Players.LocalPlayer.Character.HumanoidRootPart
  2830. local regionTable = getTableSetup(size)
  2831. local midPoint = (size/2) + .5 --get center cords
  2832. for i = 1, size do
  2833. for j = 1, size do
  2834. local part = remove(readyPartTable)
  2835. regionTable[i][j]['obj'] = part
  2836. regionTable[i][j]['safe'] = true
  2837. if i ~= midPoint or j ~= midPoint then
  2838. cs:AddTag(regionTable[i][j]['obj'], "directionWL")
  2839. end
  2840. end
  2841. end
  2842. return regionTable
  2843. end
  2844.  
  2845. local regionTable = createInitalRegionTable(regionStartSize)
  2846.  
  2847.  
  2848. local function GenerateSpiral(size)
  2849. --local _,_,_,root = getPlayer()
  2850. local size = #regionTable
  2851. local _,_,_,root = getPlayer()
  2852. if root ~= nil then
  2853. local x = 0
  2854. local y = 0
  2855. local d = 0
  2856. local c = 0
  2857. local s = 0
  2858. local tableIndex, part, parts
  2859. for k = 1, size - 1 do
  2860. for j = 0, (k < (size - 1) and 2 or 3) do
  2861. for i = 0, s do
  2862. local Vector = root.Position + Vector3.new(x, 0, y)
  2863.  
  2864. local Part = Instance.new("Part")
  2865. Part.Anchored = true
  2866. Part.CanCollide = false
  2867. Part.Position = Vector
  2868. Part.Size = Vector3.new(2, 2, 2)
  2869. Part.Parent = workspace
  2870.  
  2871. if d == 0 then
  2872. y = y + 5
  2873. elseif d == 1 then
  2874. x = x + 5
  2875. elseif d == 2 then
  2876. y = y - 5
  2877. elseif d == 3 then
  2878. x = x - 5
  2879. end
  2880. end
  2881. d = (d + 1) % 4
  2882. end
  2883. s = s + 1
  2884. end
  2885. end
  2886. end
  2887.  
  2888. local function updateRegionTable()
  2889. local _,_,_,root = getPlayer()
  2890. if root ~= nil then
  2891. local size = #regionTable
  2892. local x = (((size - 1) * regionPartSize) / 2) * -1/regionPartDivisor -- size minus one because the number has to be odd for the player to be centered, *5 because thats size of part being crreated, /2 to get how far back it muist go, *-1 to get negative #
  2893. local z = (((size - 1) * regionPartSize) / 2) * -1/regionPartDivisor
  2894. local tableIndex, part, parts
  2895. for i, v in pairs(regionTable) do
  2896. for j, k in pairs(v) do
  2897. tableIndex = k
  2898. part = tableIndex['obj']
  2899. if root ~= nil and part ~= nil then
  2900. part.CFrame = root.CFrame * CFrame.new(x,0,z)
  2901. --part.Position = (root.CFrame * CFrame.new(x,-1,z)).Position
  2902. parts = part:GetTouchingParts() -- local parts = GetTouchingParts(part)
  2903. part.BrickColor = BrickColor.new("Black")
  2904. tableIndex['safe'] = true
  2905. for m, k in pairs(parts) do
  2906. if checkIfProjectile(k) then
  2907. part.BrickColor = BrickColor.new("Bright red")
  2908. tableIndex['safe'] = false
  2909. break
  2910. end
  2911. end
  2912. end
  2913. z = z + regionPartSize/regionPartDivisor
  2914. end
  2915. z = (((size - 1) * regionPartSize) / 2) * -1/regionPartDivisor
  2916. x = x + regionPartSize/regionPartDivisor
  2917. end
  2918. end
  2919. end
  2920.  
  2921. --[[
  2922. local function updateRegionTable()
  2923. local _,_,_,root = getPlayer()
  2924. if root ~= nil then
  2925. local size = #regionTable
  2926. local x = (((size - 1) * regionPartSize) / 2) * -1/regionPartDivisor -- size minus one because the number has to be odd for the player to be centered, *5 because thats size of part being crreated, /2 to get how far back it muist go, *-1 to get negative #
  2927. local z = (((size - 1) * regionPartSize) / 2) * -1/regionPartDivisor
  2928. local tableIndex, part, parts
  2929. for i, v in pairs(regionTable) do
  2930. for j, k in pairs(v) do
  2931. tableIndex = k
  2932. part = tableIndex['obj']
  2933. if root ~= nil and part ~= nil then
  2934. part.CFrame = root.CFrame * CFrame.new(x,0,z)
  2935. --part.Position = (root.CFrame * CFrame.new(x,-1,z)).Position
  2936. parts = part:GetTouchingParts() -- local parts = GetTouchingParts(part)
  2937. part.BrickColor = BrickColor.new("Black")
  2938. tableIndex['safe'] = true
  2939. for m, k in pairs(parts) do
  2940. if checkIfProjectile(k) then
  2941. part.BrickColor = BrickColor.new("Bright red")
  2942. tableIndex['safe'] = false
  2943. break
  2944. end
  2945. end
  2946. end
  2947. z = z + regionPartSize/regionPartDivisor
  2948. end
  2949. z = (((size - 1) * regionPartSize) / 2) * -1/regionPartDivisor
  2950. x = x + regionPartSize/regionPartDivisor
  2951. end
  2952. end
  2953. end
  2954. ]]
  2955.  
  2956. local function increaseRegionTable()
  2957. local p, new
  2958. for i,col in pairs(regionTable) do
  2959. if #readyPartTable == 0 then
  2960. createRegionPart()
  2961. end
  2962. p = remove(readyPartTable)
  2963. new = {}
  2964. new['obj'] = p
  2965. insert(regionTable[i], 1, new)
  2966. if #readyPartTable == 0 then
  2967. createRegionPart()
  2968. end
  2969. p = remove(readyPartTable)
  2970. new = {}
  2971. new['obj'] = p
  2972. insert(regionTable[i], new)
  2973. end
  2974. local topColumn = {}
  2975. for i, row in pairs(regionTable[1]) do
  2976. if #readyPartTable == 0 then
  2977. createRegionPart()
  2978. end
  2979. p = remove(readyPartTable)
  2980. new = {}
  2981. new['obj'] = p
  2982. insert(topColumn, new)
  2983. end
  2984. local botColumn = {}
  2985. for i, row in pairs(regionTable[1]) do
  2986. if #readyPartTable == 0 then
  2987. createRegionPart()
  2988. end
  2989. p = remove(readyPartTable)
  2990. local new = {}
  2991. new['obj'] = p
  2992. insert(botColumn, new)
  2993. end
  2994. insert(regionTable, 1, topColumn)
  2995. insert(regionTable, botColumn)
  2996. end
  2997.  
  2998. local function decreaseRegionTable()
  2999. local tr
  3000. for i,col in pairs(regionTable) do
  3001. tr = remove(regionTable[i], #regionTable[i])
  3002. if tr ~= nil then
  3003. tr['obj'].CFrame = CFrame.new(0,0,0)
  3004. insert(readyPartTable, tr['obj'])
  3005. local tr = remove(regionTable[i], 1)
  3006. tr['obj'].CFrame = CFrame.new(0,0,0)
  3007. insert(readyPartTable, tr['obj'])
  3008. end
  3009. end
  3010. tr = remove(regionTable, #regionTable)
  3011. for i, v in pairs(tr) do
  3012. if v ~= nil then
  3013. v['obj'].CFrame = CFrame.new(0,0,0)
  3014. insert(readyPartTable, v['obj'])
  3015. end
  3016. end
  3017. tr = remove(regionTable, 1)
  3018. for i, v in pairs(tr) do
  3019. if v ~= nil then
  3020. v['obj'].CFrame = CFrame.new(0,0,0)
  3021. insert(readyPartTable, v['obj'])
  3022. end
  3023. end
  3024. end
  3025.  
  3026.  
  3027.  
  3028. local objectiveExists = false
  3029. local objectiveObject = nil
  3030. local forceObjectiveExists = false
  3031. function checkAroundPlayer(regionTable, s)
  3032. s = (s/2) + .5 --get center cords
  3033. for i = #regionTable - s, regionStartSize do
  3034. if not regionTable[i][i]['safe'] then return false end
  3035. end
  3036. return true
  3037. end
  3038.  
  3039. local function checkCenter(regionTable, s)
  3040. s = (s/2) + .5 --get center cords
  3041. return regionTable[s][s]['safe']
  3042. end
  3043.  
  3044. local function decide()
  3045. enemy = findCloseEnemy()
  3046. local num = mobRange
  3047. if enemy ~= nil and enemy.Name ~= "Azrallik's Heart" and enemy.Name ~= "Dragon Orb" then
  3048. if enemy:FindFirstChild("enemyStyle") then
  3049. local mobType = enemy.enemyStyle.Value
  3050. if mobType ~= "mob" and mobType ~= "ranged" and mobType ~= "melee" and mobType ~= "burly" then -- if boss then
  3051. num = bossRange
  3052. bossPresent = true
  3053. else -- if mob
  3054. if bossPresent then -- if boss did exist but now didnt, that means boss died
  3055. for i,v in pairs(workspace:GetChildren()) do
  3056. if enemyProjNameList[v.Name] then
  3057. v:Destroy()
  3058. end
  3059. end
  3060. end
  3061. bossPresent = false
  3062. end
  3063. end
  3064. end
  3065. --if enemy.Name == "Ancient Lava Mage" then num = 25 end
  3066. local _,_, hum,root = getPlayer()
  3067. if root ~= nil and enemy ~= nil then
  3068. local ePos = enemy.PrimaryPart.Position
  3069. local eNVec = Vector3.new(ePos.X, root.Position.Y, ePos.z)
  3070. local actualDist = getMag(eNVec, root.Position) - (enemy.PrimaryPart.Size.Z/2)
  3071. updateRegionTable()
  3072.  
  3073. if forceObjectiveExists then
  3074. return 'chase_fobjective', nil
  3075. elseif not checkAroundPlayer(regionTable, #regionTable) then
  3076. if not bossPresent and _G.teleportDuringBossOnly then
  3077. walkspeed = 30
  3078. else
  3079. walkspeed = 24
  3080. end
  3081. return 'dodge', nil
  3082. elseif objectiveExists and objectiveObject ~= nil then
  3083. walkspeed = 24
  3084. return 'chase_objective', nil
  3085. elseif actualDist < num - 5 then --elseif actualDist < num - 5 and bossPresent then
  3086. walkspeed = 24
  3087. return "run", nil
  3088. elseif actualDist < num then
  3089. walkspeed = 24
  3090. return "strafe", nil
  3091. else
  3092. if bossPresent then
  3093. walkspeed = 24
  3094. else
  3095. walkspeed = 30
  3096. end
  3097. return "chase", nil
  3098. end
  3099. else
  3100. return "nothing"
  3101. end
  3102. end
  3103.  
  3104. if _G.doInstakill then
  3105. game:GetService("RunService").RenderStepped:connect(function()
  3106. if (sethiddenproperty) then
  3107. sethiddenproperty(game:GetService("Players").LocalPlayer, 'SimulationRadius', math.huge)
  3108. end
  3109. end)
  3110. end
  3111. local _, p, height
  3112. local smalltpdebuff = true
  3113. local function mainLoop()
  3114. spawn(function()
  3115. local _,_,hum,root = getPlayer()
  3116. while not gameOver do
  3117. _,_,hum,root = getPlayer()
  3118. if root ~= nil and hum ~= nil and hum.Health > 0 then
  3119. spawn(function()
  3120. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = walkspeed
  3121. end)
  3122. local thought, data = decide()
  3123. ScriptDebug("Thought: ".. thought .. ", Enemy: " .. enemy.Name)
  3124. content_3.Text = enemy.Name
  3125. if thought == "chase" then
  3126. _, p = rayCast(root.CFrame, enemy.PrimaryPart.CFrame, "RayWhitelist", true)
  3127. if p == nil then -- if no walls between player and enemy then use moveto instead of pathfinding it
  3128. makePath(enemy, true)
  3129. else
  3130. makePath(enemy)
  3131. end
  3132. elseif thought == "chase_objective" then
  3133. if objectiveObject ~= nil and objectiveObject.ClassName == "Model" and root and objectiveObject then
  3134. _, p = rayCast(root.CFrame * CFrame.new(0,0,0), objectiveObject.PrimaryPart.CFrame * CFrame.new(0,4,0), "RayWhitelist", true)
  3135. elseif objectiveObject ~= nil and root and objectiveObject then
  3136. _, p = rayCast(root.CFrame * CFrame.new(0,0,0), objectiveObject.CFrame * CFrame.new(0,4,0), "RayWhitelist", true)
  3137. end
  3138. if p == nil and objectiveObject then -- if no walls between player and objective then use moveto instead of pathfinding it
  3139. makePath(objectiveObject, true)
  3140. elseif objectiveObject then
  3141. makePath(objectiveObject)
  3142. end
  3143. elseif thought == "chase_fobjective" then
  3144. _, p = rayCast(root.CFrame, thePart.CFrame, "RayWhitelist", true)
  3145. if p == nil then -- if no walls between player and objective then use moveto instead of pathfinding it
  3146. makePath(thePart, true)
  3147. else
  3148. makePath(thePart)
  3149. end
  3150. elseif thought == "strafe" then
  3151. local left, p = rayCast(root.CFrame, root.CFrame * CFrame.new(1000,0,0), "RayWhitelist", true) -- left
  3152. local right = rayCast(root.CFrame, root.CFrame * CFrame.new(-1000,0,0), "RayWhitelist", true)-- right
  3153. local leftDist = getMag(root.Position, left)
  3154. local rightDist = getMag(root.Position, right)
  3155. if math.abs(leftDist - rightDist) < 5 then
  3156. thePart.CFrame = root.CFrame
  3157. else
  3158. if rightDist < leftDist then
  3159. thePart.CFrame = root.CFrame * CFrame.new(5,0,0)
  3160. else
  3161. thePart.CFrame = root.CFrame * CFrame.new(-5,0,0)
  3162. end
  3163. end
  3164. makePath(thePart, true)
  3165. elseif thought == "run" then
  3166. _, p = rayCast(root.CFrame * CFrame.new(0,0,0), root.CFrame * CFrame.new(0,0,25), "RayWhitelist", true)
  3167. if p == nil then -- if nothing is behind me, then run backwards
  3168. thePart.CFrame = root.CFrame * CFrame.new(0,0,25)
  3169. makePath(thePart, true)
  3170. else -- keep looking to the left and right till we find a point with no part
  3171. local found = false
  3172. for i = 1, 20 do
  3173. if found then
  3174. break
  3175. end
  3176. for j = 1, 2 do
  3177. local studVal = i * 9
  3178. if j == 1 then
  3179. studVal = studVal * -1
  3180. end
  3181. _, p = rayCast(root.CFrame, root.CFrame * CFrame.new(studVal,-2,25 - i), "RayWhitelist", true)
  3182. if p == nil then -- location found!
  3183. found = true
  3184. thePart.CFrame = root.CFrame * CFrame.new(studVal,-2,25 - i)
  3185. break
  3186. end
  3187. end
  3188. end
  3189. makePath(thePart, true)
  3190. end
  3191. elseif thought == "dodge" then
  3192. local cSafe = nil -- gets the nearest safe spot
  3193. local cSafeVal = math.huge
  3194. local temp, temp1
  3195. local inCenter = false
  3196. local s = (#regionTable/2) + .5 --get center cords
  3197. while cSafe == nil and root ~= nil and hum ~= nil and hum.Health > 0 do
  3198. if regionTable[s][s]['safe'] then inCenter = true cSafe = regionTable[s][s]['obj'] break end -- if its 1, break cause it has to be best
  3199. for x,rowObj in pairs(regionTable) do
  3200. for y, colObj in pairs(rowObj) do
  3201. temp = regionTable[x][y]
  3202. temp1 = math.floor(getMag(root.Position, temp['obj'].Position) + .5)
  3203. if temp['safe'] and temp1 < cSafeVal then
  3204. --print("Cur Val: ".. temp1 .. " Best Val: " .. cSafeVal)
  3205. _, p = rayCast(root.CFrame * CFrame.new(0,0,0), CFrame.new(temp['obj'].Position, root.Position) * CFrame.new(0,0,regionPartSize/2), "RayWhitelist", true)
  3206. if p == nil then
  3207. cSafe = temp['obj']
  3208. cSafeVal = temp1
  3209. else
  3210. temp['obj'].BrickColor = BrickColor.new("Bright yellow")
  3211. end
  3212. end
  3213. end
  3214. end
  3215. if cSafe ~= nil then -- if safe found break loop,
  3216. break
  3217. else -- if no safe found, increase scope and loop over everything again
  3218. increaseRegionTable()
  3219. updateRegionTable()
  3220. if extremelyFast then
  3221. game:GetService("RunService").RenderStepped:wait()
  3222. else
  3223. wait()
  3224. end
  3225. end
  3226. end -- while loop done here, searching done
  3227. _,_,hum,root = getPlayer()
  3228. if cSafe ~= nil and root ~= nil and hum ~= nil then
  3229. if inCenter then
  3230. if objectiveExists then
  3231. if objectiveObject ~= nil and objectiveObject.ClassName == "Model" then
  3232. height = Vector3.new(objectiveObject.PrimaryPart.Position.X, root.Position.Y, objectiveObject.PrimaryPart.Position.Z)
  3233. elseif objectiveObject ~= nil then
  3234. height = Vector3.new(objectiveObject.Position.X, root.Position.Y, objectiveObject.Position.Z)
  3235. end
  3236. else
  3237. height = Vector3.new(enemy.PrimaryPart.Position.X, root.Position.Y, enemy.PrimaryPart.Position.Z)
  3238. end
  3239. _, p = rayCast(root.CFrame * CFrame.new(0,0,0), CFrame.new(height), "directionWL", true)
  3240. if p ~= nil and p.BrickColor == BrickColor.new("Black") then
  3241. if objectiveExists then
  3242. thePart.CFrame = p.CFrame -- move thepart to the thing safe thats towards objective
  3243. elseif getMag(enemy.PrimaryPart.Position, root.Position) > bossRange then -- if the enemy isnt within ability range then set thepart to the closet safe spot
  3244. --print('move closer')
  3245. thePart.CFrame = p.CFrame
  3246. else -- if everything is wrong then go to safe spot
  3247. --print('stay')
  3248. thePart.CFrame = root.CFrame
  3249. end
  3250. else -- safe spot towards objectives/enemy is not safe/ dont do shit
  3251. --print('dont move')
  3252. thePart.CFrame = cSafe.CFrame
  3253. end
  3254. else
  3255. thePart.CFrame = cSafe.CFrame
  3256. end
  3257. cSafe.BrickColor = BrickColor.new("Lime green")
  3258. if inCenter then -- if incenter then just path to the part (since it might be towards an enemy or objective
  3259. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = cSafe.CFrame
  3260. makePath(thePart, true)
  3261. else
  3262. if (cSafeVal < _G.smallTeleportVal) and _G.smallTeleports and smalltpdebuff then -- if not incenter and the dodge is close, just TP to it -- > 9
  3263. if not _G.teleportDuringBossOnly or bossPresent then
  3264. smalltpdebuff = false
  3265. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = thePart.CFrame
  3266. makePath(thePart, true)
  3267. spawn(function()
  3268. wait(.1)
  3269. smalltpdebuff = true
  3270. end)
  3271. else -- if neither just play normal
  3272. makePath(thePart, true)
  3273. end
  3274. else -- if neither just play normal
  3275. makePath(thePart, true)
  3276. end
  3277. end
  3278. end
  3279. while #regionTable > regionStartSize do
  3280. decreaseRegionTable()
  3281. if extremelyFast then
  3282. game:GetService("RunService").RenderStepped:wait()
  3283. else
  3284. wait()
  3285. end
  3286. end
  3287. end
  3288. end
  3289. if extremelyFast then
  3290. game:GetService("RunService").RenderStepped:wait()
  3291. else
  3292. wait()
  3293. end
  3294. end
  3295. end)
  3296. end
  3297. --PSU_FAST_EXECUTION(function() mainLoop() end)
  3298. mainLoop()
  3299.  
  3300. local function useabilities()
  3301. while not game.Players.LocalPlayer:FindFirstChild("Backpack") do
  3302. wait()
  3303. end
  3304. while not gameOver do
  3305. if _G.ignoreAbilityRange then
  3306. game:GetService("RunService").RenderStepped:wait()
  3307. else
  3308. wait()
  3309. end
  3310. char = game.Players.LocalPlayer.Character
  3311. if enemy ~= nil and enemy.PrimaryPart ~= nil and char ~= nil and char.PrimaryPart ~= nil then
  3312. if (getMag(enemy.PrimaryPart.Position, char.PrimaryPart.Position) - (enemy.PrimaryPart.Size.Z/2) ) < abilityRange or _G.ignoreAbilityRange then -- 25, 65 is the range in which we attack
  3313. for _, v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  3314. if v:FindFirstChildOfClass("RemoteEvent") and v.cooldown.Value <= 0 then
  3315. v:FindFirstChildOfClass("RemoteEvent"):FireServer()
  3316. end
  3317. end
  3318. end
  3319. end
  3320. end
  3321. end
  3322.  
  3323. local function getswordstats()
  3324. player = game.Players.LocalPlayer.Character:GetChildren()
  3325. for _, v in pairs(player) do
  3326. if v.ClassName == "Accessory" then
  3327. if v:FindFirstChild("swing") then
  3328. if v:FindFirstChild("attackSpeed") then
  3329. return v.swing, v.attackSpeed.Value
  3330. end
  3331. end
  3332. end
  3333. end
  3334. end
  3335.  
  3336. if _G.auto_attack then
  3337. spawn(useabilities)
  3338. spawn(function()
  3339. while not gameOver do
  3340. sword, cooldown = getswordstats()
  3341. player = game.Players.LocalPlayer.Character
  3342. if enemy ~= nil and enemy.PrimaryPart ~= nil and player ~= nil and player.PrimaryPart ~= nil then
  3343. if cooldown ~= nil and (getMag(enemy.PrimaryPart.Position, player.PrimaryPart.Position) - (enemy.PrimaryPart.Size.Z/2) ) < 13 then
  3344. wait(cooldown/10)
  3345. sword:FireServer()
  3346. end
  3347. end
  3348. wait()
  3349. end
  3350. end)
  3351. end
  3352.  
  3353. local function steamPunkLast(instance) -- finds the four spots and returns the best one
  3354. instance:WaitForChild("precast")
  3355. --wait(.5)
  3356. local steamTable = {
  3357. bestVal = math.huge,
  3358. bestObj = nil,
  3359. dist = nil,
  3360. newPoint = nil,
  3361. }
  3362.  
  3363. local _, _, _, root = getPlayer()
  3364. for i,v in pairs(instance:GetChildren()) do
  3365. if v.Name == "hitBox" then
  3366. steamTable.dist = getMag(root.Position, v.Position)
  3367. v.Transparency = .9
  3368. if steamTable.dist < steamTable.bestVal then
  3369. steamTable.bestVal = steamTable.dist
  3370. steamTable.bestObj = v
  3371. end
  3372. elseif v.Name == "cog" then
  3373. v:Destroy()
  3374. end
  3375. end
  3376. steamTable.bestObj.BrickColor = BrickColor.new("Lime Green")
  3377. local a = (steamTable.bestObj.CFrame * CFrame.new(0,0,(steamTable.bestObj.Size.Z/-2) + 5)).Position
  3378. local b = (steamTable.bestObj.CFrame * CFrame.new(0,0,(steamTable.bestObj.Size.Z/2) - 5)).Position
  3379. if getMag(enemy.PrimaryPart.Position, a) < getMag(enemy.PrimaryPart.Position, b) then
  3380. return a
  3381. else
  3382. return b
  3383. end
  3384. end
  3385.  
  3386. -- secondBossGeyser
  3387. local function findClosestRockPile(i)
  3388. local a = workspace.secondBossRockPile2.Union
  3389. local b = workspace.secondBossRockPile1.Union
  3390. if (a.Position - i.PrimaryPart.Position).Magnitude < (b.Position - i.PrimaryPart.Position).Magnitude then
  3391. return a
  3392. else
  3393. return b
  3394. end
  3395. end
  3396.  
  3397.  
  3398.  
  3399. local childAddedT = {
  3400. forceFieldCounter = 0,
  3401. gotRock = false,
  3402. gyzerTable = {},
  3403. gyzerLoopRunning = false,
  3404. }
  3405.  
  3406. local function createTentacleAttack(tentacle)
  3407. local r = game.Players.LocalPlayer.Character.HumanoidRootPart
  3408. local t = tentacle.PrimaryPart
  3409. local part = Instance.new("Part")
  3410. part.CFrame = CFrame.new(part.Position, r.Position)
  3411. part.CFrame = t.CFrame * CFrame.new(0,10,-60)
  3412. part.Size = Vector3.new(14,5,128)
  3413. part.Parent = workspace
  3414. part.CanCollide = false
  3415. part.Transparency = 1
  3416. part.Anchored = true
  3417. part.Name = "enemyRadius"
  3418. wait(3)
  3419. part:Destroy()
  3420. end
  3421.  
  3422.  
  3423.  
  3424.  
  3425.  
  3426.  
  3427.  
  3428. workspace.ChildAdded:Connect(function(instance)
  3429. if instance.Name == regionPartName then return end
  3430. --print(instance.Name)
  3431. if instance.Name == "battleMageOrb" then
  3432. addHitBox(instance, 25, "rectanglev3")
  3433. elseif instance.Name == "firstBossCrystal" then
  3434. addHitBox(instance,30,"square")
  3435. local object_ve = nil
  3436. spawn(function()
  3437. while wait() do
  3438. for _,v in pairs(game:GetService("Workspace").firstBossSafeZones:GetChildren()) do
  3439. if v.Transparency == 0 then
  3440. object_ve = v
  3441. end
  3442. end
  3443. if object_ve ~= nil then
  3444. local new = Instance.new("Part")
  3445. new.Anchored = true
  3446. new.Parent = workspace
  3447. new.Position = v.Position
  3448. objectiveObject = new
  3449. else
  3450. object_ve = nil
  3451. objectiveObject = nil
  3452. end
  3453. end
  3454. end)
  3455. elseif instance.Name == "firstBossSpinningRock" then
  3456. addHitBox(instance,45,"square")
  3457. elseif instance.Name == "Ancient Spirit" then
  3458. instance:Destroy()
  3459. elseif instance.Name == "secondBossSpinningLaser" then
  3460. addHitBox(instance, instance.cylinder.Size, "square")
  3461. if instance.Name == "firstBossMoveOrb" then -- ocean 1
  3462. addHitBox(instance, 27, "rectanglev3")
  3463. end
  3464. elseif instance.Name == "secondBossSlamHitbox" then
  3465. local hitBox = instance:WaitForChild("hitBox")
  3466.  
  3467. if hitBox.Size.Z == 10 and hitBox.Size.Y == 150 and hitBox.Size.X % 10 == 0 and hitBox.Size.X >= 10 and hitBox.Size.X <= 150 then
  3468. local partHitBox = Instance.new("Part")
  3469. partHitBox.Anchored = true
  3470. partHitBox.CanCollide = false
  3471. partHitBox.Transparency = 0.5
  3472. partHitBox.CFrame = hitBox.CFrame
  3473. partHitBox.Size = Vector3.new(hitBox.Size.X + 7, 5, 800)
  3474. partHitBox.Name = "enemyRadius"
  3475. partHitBox.Parent = workspace
  3476.  
  3477. repeat
  3478. wait()
  3479. until instance == nil or not instance:IsDescendantOf(workspace)
  3480. partHitBox:Destroy()
  3481. end
  3482. elseif instance.Name == "thirdBossOrbCircle" or instance.Name == "finalBossOrbShot" then -- ocean 3
  3483. addHitBox(instance, 30, "rectangle-2")
  3484. elseif instance.Name == "firstBossFollowOrb" then -- volcanic 1
  3485. addHitBox(instance, 25, "rectangle-2")
  3486. elseif instance.Name == "mageProjectileBall" then -- canals 1
  3487. addHitBox(instance, 10, "rectangle")
  3488. elseif instance.Name == "secondBossCrescent" then -- canals 2
  3489. addHitBox(instance, 12, "square")
  3490. elseif instance.Name == "secondBossOrb" then -- orbital 2
  3491. addHitBox(instance, 12, "rectanglev3")
  3492. elseif instance.Name == "secondBossStabProjectile" then -- bos raid, ancient stone guardian
  3493. addHitBox(instance, 15, "rectangle-2")
  3494. elseif instance.Name == "gasBall" then -- egg event
  3495. addHitBox(instance, 10, "rectangle")
  3496. elseif instance.Name == "tornado" then -- boss raid, dragon
  3497. addHitBox(instance, 20, "square")
  3498. elseif instance.Name == "thirdBossOrbShot" then -- orbital 3
  3499. addHitBox(instance, 26, "rectanglev2")
  3500. elseif instance.Name == "fisrtBossCrissCross" then
  3501. addHitBox(instance , 26 , square)
  3502. elseif instance.Name == "Kraken Tentacle" then -- ghastly 1
  3503. local debuff = true
  3504. instance:WaitForChild("Humanoid")
  3505. while instance.Parent ~= nil and instance:FindFirstChild("Humanoid") and instance.Humanoid.Health > 0 do
  3506. if #instance.Humanoid:GetPlayingAnimationTracks() == 2 and debuff then
  3507. debuff = false
  3508. createTentacleAttack(instance)
  3509. wait(3)
  3510. debuff = true
  3511. else
  3512. print('not attacking')
  3513. end
  3514. wait()
  3515. end
  3516. elseif instance.Name == "Kraken Tentacle" then -- ghastly 1
  3517. local debuff = true
  3518. instance:WaitForChild("Humanoid")
  3519. while instance.Parent ~= nil and instance:FindFirstChild("Humanoid") and instance.Humanoid.Health > 0 do
  3520. if #instance.Humanoid:GetPlayingAnimationTracks() == 2 and debuff then
  3521. debuff = false
  3522. createTentacleAttack(instance)
  3523. wait(3)
  3524. debuff = true
  3525. else
  3526. print('not attacking')
  3527. end
  3528. wait()
  3529. end
  3530. elseif instance.Name == "overheadCannon" then -- ghastly 2
  3531. print('got cannon')
  3532. objectiveExists = true
  3533. objectiveObject = game:GetService("Workspace").playerFireCannon.ring
  3534. spawn(function()
  3535. while instance ~= nil and instance.Parent ~= nil do
  3536. wait()
  3537. end
  3538. if workspace.playerFireCannonHitMark.Transparency == 1 then
  3539. print('obj done')
  3540. objectiveObject = nil
  3541. objectiveExists = false
  3542. else
  3543. print('chara prob died, get new cannon')
  3544. objectiveObject = workspace.playerPickupCannonballRing
  3545. objectiveExists = true
  3546. end
  3547. -- used cannon shot
  3548. end)
  3549. elseif instance.Name == "secondBossGeyser" then -- volcanic 2
  3550. instance:WaitForChild("PrimaryPart")
  3551. spawn(function()
  3552. local gyzerPos = #childAddedT.gyzerTable+1
  3553. insert(childAddedT.gyzerTable, instance)
  3554. while instance ~= nil and instance.Parent ~= nil do
  3555. wait()
  3556. end
  3557. print('remove gyzzer instance')
  3558. remove(childAddedT.gyzerTable, gyzerPos)
  3559. end)
  3560. spawn(function()
  3561. if not childAddedT.gyzerLoopRunning then
  3562. -- gyzer has spawned
  3563. objectiveExists = true
  3564. childAddedT.gyzerLoopRunning = true
  3565. while workspace.secondBossRockPile2.Union.Transparency ~= 1 and #childAddedT.gyzerTable ~= 0 do -- while gyzer active do
  3566. if childAddedT.gotRock then
  3567. objectiveObject = childAddedT.gyzerTable[#childAddedT.gyzerTable]
  3568. else
  3569. objectiveObject = findClosestRockPile(childAddedT.gyzerTable[#childAddedT.gyzerTable])
  3570. end
  3571. wait()
  3572. end
  3573. childAddedT.gyzerLoopRunning = false
  3574. if #childAddedT.gyzerTable == 0 or workspace.secondBossRockPile2.Union.Transparency == 1 then
  3575. objectiveObject = nil
  3576. objectiveExists = false
  3577. end
  3578. end
  3579. end)
  3580. elseif instance.Name == "secondBossOverheadRock" then -- volcanic 2
  3581. -- player got the rock
  3582. childAddedT.gotRock = true
  3583. while workspace:FindFirstChild("secondBossOverheadRock") and workspace.secondBossRockPile2.Union.Transparency ~= 1 do -- while rock exists wait
  3584. wait()
  3585. end
  3586. childAddedT.gotRock = false
  3587. elseif instance.Name == "thirdBossSafeSpots" then -- steampunk 3
  3588. forceObjectiveExists = true
  3589. local safe = steamPunkLast(instance)
  3590. thePart.CFrame = CFrame.new(safe)
  3591. while workspace:FindFirstChild(instance.Name) and workspace[instance.Name]:FindFirstChild("precast") and workspace[instance.Name]:FindFirstChild("precast").Transparency < 1 do
  3592. safe = steamPunkLast(instance)
  3593. thePart.CFrame = CFrame.new(safe)
  3594. wait()
  3595. end
  3596. forceObjectiveExists = false
  3597. elseif instance.Name == "thirdBossSpreadLine" then -- volcanic 3
  3598. instance:WaitForChild("precast")
  3599. local s = instance.precast:Clone()
  3600. s.Parent = workspace
  3601. s.Transparency = 1
  3602. s.Size = instance.precast.Size + Vector3.new(2,0,0)
  3603. s.Name = "enemyRadius"
  3604. wait(1.4)
  3605. s:Destroy()
  3606. instance.precast.Name = "precast"
  3607. elseif instance.Name == "firstBossLaserPrecast" then -- ocean 1
  3608. instance:WaitForChild("precast")
  3609. wait(.5)
  3610. if instance:FindFirstChild("precast") then
  3611. local s = instance.precast:Clone()
  3612. s.Parent = workspace
  3613. s.Transparency = 1
  3614. s.Size = instance.precast.Size
  3615. s.Name = "enemyRadius"
  3616. wait(1)
  3617. s:Destroy()
  3618. end
  3619. elseif instance.Name == "secondBossSlamHitbox" then -- ocean 2
  3620. local a = instance:WaitForChild("precast")
  3621. local sum = 0
  3622. sum = sum + a.Size.X + a.Size.Z + a.Size.Y
  3623. warn(sum)
  3624. if sum == 46.431163787842 then
  3625. forceObjectiveExists = true
  3626. thePart.CFrame = CFrame.new(-2653.086, 196.526, 2325.825)
  3627. wait(5)
  3628. forceObjectiveExists = false
  3629. end
  3630. elseif instance.Name == "preCast" then -- winter mob
  3631. instance:WaitForChild("preCast")
  3632. instance.preCast.Size = instance.preCast.Size + Vector3.new(0,0,3)
  3633. elseif instance.Name == "riflemanShot" then -- pirate mob
  3634. instance:WaitForChild("hitBox")
  3635. instance.hitBox.Size = instance.hitBox.Size + Vector3.new(0,0,3)
  3636. elseif instance.Name == "firstBossGatlingGunShot" then -- orbital 1
  3637. instance:WaitForChild("precast")
  3638. instance.precast.Size = instance.precast.Size + Vector3.new(1,0,0)
  3639. elseif instance.Name == "firstBossFlameShot" then -- orbital 1
  3640. instance:WaitForChild("precast")
  3641. instance.precast.Size = instance.precast.Size + Vector3.new(1,0,0)
  3642. elseif instance.Name == "chickenMage" then -- egg event
  3643. instance:WaitForChild("precast")
  3644. instance.precast.Size = instance.precast.Size + Vector3.new(0,0,3)
  3645. elseif instance.Name == "droneShot" then -- orbital mob
  3646. instance:WaitForChild("shot")
  3647. wait()
  3648. for i,c in pairs(instance:GetChildren()) do
  3649. if c.Name == "shot" then
  3650. c.precast.Size = c.precast.Size + Vector3.new(1.2,0,0)
  3651. end
  3652. end
  3653.  
  3654. elseif instance.Name == "poisonBomb" then -- egg event
  3655. instance:WaitForChild("eggPart")
  3656. instance:WaitForChild("fuse")
  3657. instance:WaitForChild("PrimaryPart")
  3658. instance:WaitForChild("Union")
  3659. instance.eggPart.Name = "enemyRadius"
  3660. instance.fuse.Name = "enemyRadius"
  3661. instance.PrimaryPart.Name = "enemyRadius"
  3662. instance.Union.Name = "enemyRadius"
  3663. elseif instance.Name == "rangeMobShot" then -- egg event
  3664. instance:WaitForChild("precast")
  3665. instance.precast.Size = instance.precast.Size + Vector3.new(1.5,0,3)
  3666. elseif instance.Name == "chickenMage" then -- egg event
  3667. instance:WaitForChild("precast")
  3668. instance.precast.Size = instance.precast.Size + Vector3.new(0,0,3)
  3669. elseif instance.Name == "npcMageShot" then -- kings castle mob
  3670. instance:WaitForChild("precast")
  3671. instance.precast.Size = instance.precast.Size + Vector3.new(0,0,3)
  3672. elseif instance.Name == "iceBeamIndicator" then -- winter boss
  3673. instance:WaitForChild("Part")
  3674. instance.Part.Size = instance.Part.Size + Vector3.new(0,3,3)
  3675. elseif instance.Name == "hitIndicatorIceAOE" then -- winter boss
  3676. instance:WaitForChild("Part")
  3677. instance.Part.Transparency = 0
  3678. elseif instance.Name == "thirdBossLifeStealBeams" then -- orbital 3
  3679. local thePart = createPart(enemy.PrimaryPart.CFrame * CFrame.new(0,0,-75), Vector3.new(40,40,150), "enemyRadius", "Block")
  3680. wait(1.5)
  3681. thePart:Destroy()
  3682. elseif instance.Name == "silkBlast" then -- pirate 2
  3683. local s = instance:WaitForChild("precast"):Clone()
  3684. s.Size = instance.precast.Size + Vector3.new(3,5,3)
  3685. s.Name = "enemyRadius"
  3686. s.Transparency = 0
  3687. s.Parent = workspace
  3688. wait(5.5)
  3689. s:Destroy()
  3690. elseif instance.Name == "thirdBossSafeSpot" then -- volcanic 3
  3691. objectiveExists = true
  3692. while not instance:FindFirstChild("precast") do
  3693. wait()
  3694. end
  3695. objectiveObject = instance
  3696. while workspace:FindFirstChild(objectiveObject.Name) and workspace:FindFirstChild(objectiveObject.Name):FindFirstChild("precast") and workspace:FindFirstChild(objectiveObject.Name).precast.Transparency > 0 do
  3697. wait()
  3698. end
  3699. objectiveObject = nil
  3700. objectiveExists = false
  3701.  
  3702. elseif instance.Name == "safeSpotCircle" then -- canals 2?
  3703. objectiveExists = true
  3704. objectiveObject = instance
  3705. while instance ~= nil and workspace:FindFirstChild(instance.Name) and workspace:FindFirstChild(instance.Name).Transparency > 0 do
  3706. wait()
  3707. end
  3708. objectiveObject = nil
  3709. objectiveExists = false
  3710.  
  3711. elseif instance.Name == "forceField" then -- canals 3
  3712. childAddedT.forceFieldCounter = childAddedT.forceFieldCounter + 1
  3713. objectiveExists = true
  3714. objectiveObject = instance
  3715. if childAddedT.forceFieldCounter == 2 then
  3716. childAddedT.forceFieldCounter = 0
  3717. objectiveExists = false
  3718. objectiveObject = nil
  3719. end
  3720. elseif instance.ClassName == "Model" then -- if a mob spawns in workspace
  3721. if instance.Name == "Kraken Tentacle" then return end -- has no enemy style
  3722. instance:WaitForChild("HumanoidRootPart", 10)
  3723. if instance ~= nil and instance:FindFirstChild("HumanoidRootPart") and instance ~= game.Players.LocalPlayer.Character then
  3724. if instance.Name == "Azrallik's Heart" or instance.Name == "Dragon Orb" then
  3725. cs:AddTag(instance, "Prio-Enemy")
  3726. elseif instance.Name == "Blood Minion" or instance.Name == "Infected Pirate" or instance.Name == "Ice Minion" or instance.Name == "Tracking Minion" or instance.Name == "Stone Minion" or instance.Name == "Flame Minion" then -- insta kill
  3727. instance:WaitForChild("Humanoid")
  3728. addHitBox(instance, 5, "square")
  3729. instance.Humanoid.Health = 0
  3730. wait(3)
  3731. instance:Destroy()
  3732. else
  3733. local isPlayer = false
  3734. for i,v in pairs(game.Players:GetChildren()) do
  3735. if instance.name == v.Name then
  3736. isPlayer = true
  3737. end
  3738. end
  3739. if not isPlayer then
  3740. cs:AddTag(instance, "Enemy")
  3741. addHitBox(instance, 7)
  3742. end
  3743. end
  3744. end
  3745. end
  3746. end)
  3747. Game:GetService("LogService").MessageOut:Connect(function(Message)
  3748. --[[=table.foreach(strings, function(i,v)
  3749. if Message == v then
  3750. game:GetService('TeleportService'):Teleport(2414851778)
  3751. end
  3752. end)]]
  3753. if string.find(Message,"Server Kick Message:") then
  3754. game:GetService('TeleportService'):Teleport(2414851778)
  3755. end
  3756. end)
  3757. spawn(del_armor_ui)
  3758.  
  3759. path.Blocked:Connect(onPathBlocked)
  3760. local Players = game:GetService("Players")
  3761. game.Players.LocalPlayer.Character.Humanoid.MoveToFinished:Connect(onWaypointReached)
  3762.  
  3763. local function onCharacterAdded(character)
  3764. local _, vchar, hum, root = getPlayer()
  3765. hum.MoveToFinished:Connect(onWaypointReached)
  3766. hum.WalkSpeed = walkspeed
  3767. hum.AutoRotate = false
  3768. spawn(del_armor_ui)
  3769. end
  3770.  
  3771. game.Players.LocalPlayer.CharacterAdded:Connect(onCharacterAdded)
  3772.  
  3773. function northernFix()
  3774. local names_table = {"Aurora Borealis Lights","Model","Straight chain","Dead Tree","Eye Rune","Hex Rune","Ice","Meshes/Ice shard","Meshes/Ice3","Meshes/Norse","Meshes/Root4","Meshes/Snow","Meshes/ice plates_Circle.004","Small snow patch","Solid spikes","Stone","snow patch","snow tile","snow machine"}
  3775. createWall_with_orient(Vector3.new(741.094, 13.62, 56.711),Vector3.new(92.394, 1.347, 4.683),Vector3.new(0, -71.82, 0.02))
  3776. createWall_with_orient(Vector3.new(-660.172, 17.6, 361.741),Vector3.new(231.151, 1, 515.168),Vector3.new(0, 33.09, 0))
  3777. createWall_with_orient(Vector3.new(438.563, -42.119, -1.042),Vector3.new(141.004, 1, 58.13),Vector3.new(0, 0, 19.61))
  3778. createWall_with_orient(Vector3.new(1037.55, 66.045, -42.48),Vector3.new(226.8, 1, 217.321),Vector3.new(0, 17.78, 0))
  3779. createWall_with_orient(Vector3.new(-438.31, 132.845, 410.59),Vector3.new(4, 1, 2),Vector3.new(0, 0, 0))
  3780. createWall_with_orient(Vector3.new(543.02, -61.931, 141.988),Vector3.new(570.596, 1, 1597.578),Vector3.new(0, 23.87, 0))
  3781. createWall_with_orient(Vector3.new(839.677, 27.728, 23.398),Vector3.new(205.741, 1, 80.384),Vector3.new(0, 16.57, 21.98))
  3782. createWall_with_orient(Vector3.new(349.34, 15.256, 183.125),Vector3.new(61.391, 1, 44.897),Vector3.new(0, 18.08, -4.63))
  3783. createWall_with_orient(Vector3.new(554.861, -6.079, 20.838),Vector3.new(132.235, 11.144, 58.13),Vector3.new(10.45, -31.19, 16.68))
  3784. createWall_with_orient(Vector3.new(816.423, 13.745, 30.315),Vector3.new(166.137, 1, 80.384),Vector3.new(0, 16.57, 0))
  3785. createWall_with_orient(Vector3.new(658.138, 13.357, 77.399),Vector3.new(166.137, 1, 80.384),Vector3.new(0, 16.57, 0))
  3786. createWall_with_orient(Vector3.new(533.66, 193.084, 57.4),Vector3.new(4, 1, 2),Vector3.new(0, 0, 0))
  3787. createWall_with_orient(Vector3.new(-217.759, 18.906, 361.364),Vector3.new(49.076, 1, 72.364),Vector3.new(0, 17.62, -10.52))
  3788. createWall_with_orient(Vector3.new(-344.155, 23.548, 393.976),Vector3.new(217.183, 1, 331.959),Vector3.new(0, 17.62, 0))
  3789. createWall_with_orient(Vector3.new(78.042, 17.649, 347.747),Vector3.new(570.596, 1, 1597.578),Vector3.new(0, 23.87, 0))
  3790. wait(.1)
  3791. if _G.destroy_map then
  3792. for _,v in pairs(workspace:GetChildren()) do
  3793. for _,i in pairs(names_table) do
  3794. if v.Name == i then
  3795. v:Destroy()
  3796. end
  3797. end
  3798. end
  3799. end
  3800. end
  3801.  
  3802. function forestFix()
  3803. createWall_with_orient(Vector3.new(-307.463, -14.556, -56.199),Vector3.new(92.486, 1, 147.831),Vector3.new(0, 0, 19.3))
  3804. createWall_with_orient(Vector3.new(235.481, 0.81, 38.748),Vector3.new(998.934, 1, 752.941),Vector3.new(0, 0, 0))
  3805. createWall_with_orient(Vector3.new(-1655.314, 1.563, 800.372),Vector3.new(1063.295, 1, 1819.812),Vector3.new(0, 0, 0))
  3806. createWall_with_orient(Vector3.new(-1083.423, -14.196, 644.865),Vector3.new(86.591, 1, 63.352),Vector3.new(0, 0, -20.61))
  3807. createWall_with_orient(Vector3.new(-558.453, -28.143, 686.277),Vector3.new(1063.295, 1, 2048),Vector3.new(0, 0, 0))
  3808. wait(.1)
  3809. workspace.Terrain:Clear()
  3810. workspace.map:Destroy()
  3811. end
  3812.  
  3813. function oceanFix()
  3814. _G.smallTeleports = true
  3815. _G.teleportDuringBossOnly = false
  3816. createWall(CFrame.new(-2530.18213, 217.300583, 2292.73022, 0.978144467, 0, 0.207926437, 0, 1, 0, -0.207926437, 0, 0.978144467), Vector3.new(19.569891, 131.600006, 27.9050236))
  3817. createWall(CFrame.new(-783.23999, 69.9086685, 2350.23462, -1, 0, 0, 0, 1, 0, 0, 0, -1), Vector3.new(372.139984, 128.209991, 15.29))
  3818. createWall(CFrame.new(-2038.21997, 198.318665, 2348.7041, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(50.9199371, 138.75, 9.52999496))
  3819. createWall(CFrame.new(-2032.505, 198.318665, 2303.51416, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(39.4899368, 138.75, 9.52999496))
  3820. createWall(CFrame.new(-1876.875, 54.728653, 2323.83374, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(3.30993915, 161.48999, 138.289993))
  3821. createWall(CFrame.new(-1944.46509, 54.728653, 2256.06372, 0, 0, -1, 0, 1, 0, 1, 0, 0), Vector3.new(3.30993915, 161.48999, 138.289993))
  3822. createWall(CFrame.new(-2013.51514, 54.728653, 2323.55371, -1, 0, 0, 0, 1, 0, 0, 0, -1), Vector3.new(3.30993915, 161.48999, 138.289993))
  3823. createWall(CFrame.new(-1940.46277, 186.948654, 2392.69385, 0, 0, 1, 0, 1, 0, -1, 0, 0), Vector3.new(3.30993915, 161.48999, 149.454834))
  3824. createWall(CFrame.new(-2018.40503, 198.318665, 2369.28418, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(11.2899389, 138.75, 50.3699913))
  3825. createWall(CFrame.new(-2018.40503, 198.318665, 2276.61914, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(11.2899389, 138.75, 63.3199921))
  3826. createWall(CFrame.new(-1936.995, 162.913666, 2251.38916, 0, 0, -1, 0, 1, 0, 1, 0, 0), Vector3.new(11.2899389, 67.9399948, 155.979996))
  3827. createWall(CFrame.new(-1855.01501, 162.913666, 2254.21924, 0, 0, -1, 0, 1, 0, 1, 0, 0), Vector3.new(11.2899389, 67.9399948, 44.0399971))
  3828. createWall(CFrame.new(-1835.495, 162.913666, 2321.28931, -1, 0, 0, 0, 1, 0, 0, 0, -1), Vector3.new(11.2899389, 67.9399948, 129.720001))
  3829. createWall(CFrame.new(-1270.09351, 52.6868362, 2227.28467, -0.998307824, 0, 0.058156427, 0, 1, 0, -0.058156427, 0, -0.998307824), Vector3.new(2.08999944, 162.653656, 36.7399902))
  3830. createWall(CFrame.new(-1277.76965, 52.6868362, 2242.85889, 0.0161704421, 0, 0.999869287, 0, 1, 0, -0.999869287, 0, 0.0161704421), Vector3.new(9.21999931, 162.653656, 26.4699898))
  3831. createWall(CFrame.new(-1238.92224, 52.6868362, 2468.63843, -0.999989033, 0, 0.00474769808, 0, 1, 0, -0.00474769808, 0, -0.999989033), Vector3.new(9.21999931, 162.653656, 107.419983))
  3832. createWall(CFrame.new(-1241.41284, 52.6868362, 2419.99854, 0.0148379207, 0, 0.999890029, 0, 1, 0, -0.999890029, 0, 0.0148379207), Vector3.new(10.3999996, 162.653656, 28.6099815))
  3833. createWall(CFrame.new(-1261.41321, 52.6868362, 2393.58862, 0.891518176, 0, 0.452984959, 0, 1, 0, -0.452984959, 0, 0.891518176), Vector3.new(9.21999931, 162.653656, 65.5099792))
  3834. createWall(CFrame.new(-1284.52197, 52.6868362, 2302.46655, 0.990956247, 0, 0.134185284, 0, 1, 0, -0.134185284, 0, 0.990956247), Vector3.new(9.21999931, 162.653656, 129.029984))
  3835. createWall(CFrame.new(-1263.70508, 69.9086685, 2329.61914, 0, 0, -1, 0, 1, 0, 1, 0, 0), Vector3.new(46.2999954, 128.209991, 13.9499998))
  3836. createWall(CFrame.new(-1265.06799, 52.6868362, 2238.36621, 0.993771136, 0, 0.111440428, 0, 1, 0, -0.111440428, 0, 0.993771136), Vector3.new(1.61999965, 162.653656, 139.828094))
  3837. createWall(CFrame.new(-1227.82751, 52.6868362, 2201.66064, 0.993771136, 0, 0.111440428, 0, 1, 0, -0.111440428, 0, 0.993771136), Vector3.new(9.21999931, 162.653656, 212.23999))
  3838. createWall(CFrame.new(-1292.28625, 52.6868362, 2105.9895, 0, 0, -1, 0, 1, 0, 1, 0, 0), Vector3.new(9.21999931, 162.653656, 141.559982))
  3839. createWall(CFrame.new(-1364.03931, 52.6868362, 2176.00854, -1, 0, 0, 0, 1, 0, 0, 0, -1), Vector3.new(9.21999931, 162.653656, 141.559982))
  3840. createWall(CFrame.new(-1348.71521, 52.6868362, 2243.71948, 0, 0, 1, 0, 1, -0, -1, 0, 0), Vector3.new(9.21999931, 162.653656, 29.5399895))
  3841. createWall(CFrame.new(-1332.10864, 52.6868362, 2284.60376, 0.990956247, 0, 0.134185284, 0, 1, 0, -0.134185284, 0, 0.990956247), Vector3.new(9.21999931, 162.653656, 90.7599869))
  3842. createWall(CFrame.new(-1331.63562, 52.6868362, 2374.04199, 0.991267025, -0, -0.131870151, 0, 1, -0, 0.131870151, 0, 0.991267025), Vector3.new(9.21999931, 162.653656, 92.5399857))
  3843. createWall(CFrame.new(-1337.19312, 52.6868362, 2448.06567, 0.999832571, 0, 0.0182995033, 0, 1, 0, -0.0182995033, 0, 0.999832571), Vector3.new(9.21999931, 162.653656, 64.6399918))
  3844. createWall(CFrame.new(-1397.48499, 65.1518402, 2454.98486, 0, 0, -1, 0, 1, 0, 1, 0, 0), Vector3.new(60.1099968, 137.723663, 7.00999975))
  3845. createWall(CFrame.new(-1413.17004, 65.1518402, 2428.40991, 0, 0, -1, 0, 1, 0, 1, 0, 0), Vector3.new(6.95999908, 137.723663, 38.3799973))
  3846. createWall(CFrame.new(-1482.84009, 65.1518402, 2428.40991, 0, 0, -1, 0, 1, 0, 1, 0, 0), Vector3.new(6.95999908, 137.723663, 21.1599998))
  3847. createWall(CFrame.new(-1491.44507, 65.1518402, 2475.6748, 0, 0, -1, 0, 1, 0, 1, 0, 0), Vector3.new(101.489998, 137.723663, 3.94999886))
  3848. createWall(CFrame.new(-1443.73999, 65.1518402, 2525.38989, 0, 0, -1, 0, 1, 0, 1, 0, 0), Vector3.new(9.71999931, 137.723663, 99.5199966))
  3849. createWall(CFrame.new(-1831.43005, 101.343674, 2414.46924, -1, 0, 0, 0, 1, 0, 0, 0, -1), Vector3.new(10.3799305, 191.080002, 57.9199944))
  3850. createWall(CFrame.new(-1360.9574, 52.6868362, 2520.39917, 0.0592788458, -0, -0.998241484, 0, 1, -0, 0.998241484, 0, 0.0592788458), Vector3.new(9.71999931, 162.653656, 86.7799988))
  3851. createWall(CFrame.new(-1364.93335, 52.6868362, 2477.90015, 0.0592788458, -0, -0.998241484, 0, 1, -0, 0.998241484, 0, 0.0592788458), Vector3.new(9.21999931, 162.653656, 64.6399918))
  3852. createWall(CFrame.new(-1280.71997, 52.6868362, 2518.2002, 0, 0, -1, 0, 1, 0, 1, 0, 0), Vector3.new(9.71999931, 162.653656, 86.7799988))
  3853. createWall(CFrame.new(-1835.495, 101.343674, 2365.10938, -1, 0, 0, 0, 1, 0, 0, 0, -1), Vector3.new(11.2899389, 191.080002, 42.0799942))
  3854. createWall(CFrame.new(-1853.7251, 101.343674, 2437.48438, -1, 0, 0, 0, 1, 0, 0, 0, -1), Vector3.new(54.9699287, 191.080002, 11.8899946))
  3855. createWall(CFrame.new(-1467.53931, 65.1518402, 2402.24146, 0.979213893, -0, -0.202830359, 0, 1, -0, 0.202830359, 0, 0.979213893), Vector3.new(6.95999908, 137.723663, 60.1899948))
  3856. createWall(CFrame.new(-1858.97498, 62.0486679, 2350.79932, -1, 0, 0, 0, 1, 0, 0, 0, -1), Vector3.new(38.1499329, 112.48999, 13.4599934))
  3857. createWall(CFrame.new(-1853.11987, 101.343674, 2213.18994, 0, 0, -1, 0, 1, 0, 1, 0, 0), Vector3.new(10.3799305, 191.080002, 57.9199944))
  3858. createWall(CFrame.new(-2055.80542, 101.343674, 2279.81958, 0, 0, 1, 0, 1, -0, -1, 0, 0), Vector3.new(35.4999313, 191.080002, 11.8899946))
  3859. createWall(CFrame.new(-2058.75537, 101.343674, 2238.39453, 0, 0, 1, 0, 1, -0, -1, 0, 0), Vector3.new(54.9699287, 191.080002, 11.8899946))
  3860. createWall(CFrame.new(-2031.19507, 101.343674, 2212.02441, -1, 0, 0, 0, 1, 0, 0, 0, -1), Vector3.new(48.0899277, 191.080002, 11.8899946))
  3861. createWall(CFrame.new(-1830.10474, 101.343674, 2253.21997, 0, 0, -1, 0, 1, 0, 1, 0, 0), Vector3.new(90.4399261, 191.080002, 11.8899946))
  3862. createWall(CFrame.new(-1944.03992, 101.343674, 2216.88501, -1, 0, 0, 0, 1, 0, 0, 0, -1), Vector3.new(126.819931, 191.080002, 11.8899946))
  3863. createWall(CFrame.new(-2034.54504, 101.343674, 2439.59448, -1, 0, 0, 0, 1, 0, 0, 0, -1), Vector3.new(54.9699287, 191.080002, 11.8899946))
  3864. createWall(CFrame.new(-2056.00513, 101.343674, 2367.26953, 0, 0, -1, 0, 1, 0, 1, 0, 0), Vector3.new(42.0799294, 191.080002, 11.8899946))
  3865. createWall(CFrame.new(-2060.91504, 101.343674, 2409.96436, 0, 0, -1, 0, 1, 0, 1, 0, 0), Vector3.new(48.0899277, 191.080002, 11.8899946))
  3866. createWall(CFrame.new(-2530.13501, 217.300583, 2359.55347, -0.978144407, 0, 0.207926437, 0, 1, 0, -0.207926437, 0, -0.978144407), Vector3.new(19.569891, 131.600006, 28.2675056))
  3867. createWall(CFrame.new(-2814.97021, 217.300583, 2295.89038, -0.978144407, 0, 0.207926437, 0, 1, 0, -0.207926437, 0, -0.978144407), Vector3.new(19.569891, 131.600006, 34.3708916))
  3868. createWall(CFrame.new(-2538.92798, 217.300583, 2385.58179, -0.913549781, 0, 0.406727046, 0, 1, 0, -0.406727046, 0, -0.913549781), Vector3.new(19.569891, 131.600006, 34.3708916))
  3869. createWall(CFrame.new(-2805.54321, 217.300583, 2266.87744, -0.913549781, 0, 0.406727046, 0, 1, 0, -0.406727046, 0, -0.913549781), Vector3.new(19.569891, 131.600006, 34.3708916))
  3870. createWall(CFrame.new(-2554.1814, 217.300583, 2412.00098, -0.808997631, 0, 0.587812185, 0, 1, 0, -0.587812185, 0, -0.808997631), Vector3.new(19.569891, 131.600006, 34.3708916))
  3871. createWall(CFrame.new(-2790.29028, 217.300583, 2240.4585, -0.808997631, 0, 0.587812185, 0, 1, 0, -0.587812185, 0, -0.808997631), Vector3.new(19.569891, 131.600006, 34.3708916))
  3872. createWall(CFrame.new(-2574.59448, 217.300583, 2434.67188, -0.66911006, 0, 0.743163466, 0, 1, 0, -0.743163466, 0, -0.66911006), Vector3.new(19.569891, 131.600006, 34.3708916))
  3873. createWall(CFrame.new(-2769.87793, 217.300583, 2217.78784, -0.66911006, 0, 0.743163466, 0, 1, 0, -0.743163466, 0, -0.66911006), Vector3.new(19.569891, 131.600006, 34.3708916))
  3874. createWall(CFrame.new(-2599.27612, 217.300583, 2452.60132, -0.499959469, 0, 0.866048813, 0, 1, 0, -0.866048813, 0, -0.499959469), Vector3.new(19.569891, 131.600006, 34.3708916))
  3875. createWall(CFrame.new(-2745.19702, 217.300583, 2199.85962, -0.499959469, 0, 0.866048813, 0, 1, 0, -0.866048813, 0, -0.499959469), Vector3.new(19.569891, 131.600006, 34.3708916))
  3876. createWall(CFrame.new(-2717.32861, 217.300583, 2187.45264, -0.309060812, 0, 0.951042235, 0, 1, 0, -0.951042235, 0, -0.309060812), Vector3.new(19.569891, 131.600006, 34.3708916))
  3877. createWall(CFrame.new(-2627.14502, 217.300583, 2465.00854, -0.309060812, 0, 0.951042235, 0, 1, 0, -0.951042235, 0, -0.309060812), Vector3.new(19.569891, 131.600006, 34.3708916))
  3878. createWall(CFrame.new(-2687.49023, 217.300583, 2181.1106, -0.104543328, 0, 0.994520426, 0, 1, 0, -0.994520426, 0, -0.104543328), Vector3.new(19.569891, 131.600006, 34.3708916))
  3879. createWall(CFrame.new(-2656.98462, 217.300583, 2471.35083, -0.104543328, 0, 0.994520426, 0, 1, 0, -0.994520426, 0, -0.104543328), Vector3.new(19.569891, 131.600006, 34.3708916))
  3880. createWall(CFrame.new(-2687.48999, 217.300583, 2471.35059, 0.10454309, 0, 0.994520426, 0, 1, 0, -0.994520426, 0, 0.10454309), Vector3.new(19.569891, 131.600006, 34.3708916))
  3881. createWall(CFrame.new(-2656.98462, 217.300583, 2181.11084, 0.10454309, 0, 0.994520426, 0, 1, 0, -0.994520426, 0, 0.10454309), Vector3.new(19.569891, 131.600006, 34.3708916))
  3882. createWall(CFrame.new(-2717.32886, 217.300583, 2465.00806, 0.309060872, 0, 0.951042235, 0, 1, 0, -0.951042235, 0, 0.309060872), Vector3.new(19.569891, 131.600006, 34.3708916))
  3883. createWall(CFrame.new(-2627.146, 217.300583, 2187.45313, 0.309060872, 0, 0.951042235, 0, 1, 0, -0.951042235, 0, 0.309060872), Vector3.new(19.569891, 131.600006, 34.3708916))
  3884. createWall(CFrame.new(-2745.19629, 217.300583, 2452.59839, 0.499959469, 0, 0.866048813, 0, 1, 0, -0.866048813, 0, 0.499959469), Vector3.new(19.569891, 131.600006, 34.3708916))
  3885. createWall(CFrame.new(-2599.27905, 217.300583, 2199.8623, 0.499959469, 0, 0.866048813, 0, 1, 0, -0.866048813, 0, 0.499959469), Vector3.new(19.569891, 131.600006, 34.3708916))
  3886. createWall(CFrame.new(-2769.875, 217.300583, 2434.66724, 0.669109941, 0, 0.743163466, 0, 1, 0, -0.743163466, 0, 0.669109941), Vector3.new(19.569891, 131.600006, 34.3708916))
  3887. createWall(CFrame.new(-2574.60059, 217.300583, 2217.79272, 0.669109941, 0, 0.743163466, 0, 1, 0, -0.743163466, 0, 0.669109941), Vector3.new(19.569891, 131.600006, 34.3708916))
  3888. createWall(CFrame.new(-2554.18921, 217.300583, 2240.4624, 0.808997452, 0, 0.587812185, 0, 1, 0, -0.587812185, 0, 0.808997452), Vector3.new(19.569891, 131.600006, 34.3708916))
  3889. createWall(CFrame.new(-2790.28687, 217.300583, 2411.99756, 0.808997452, 0, 0.587812185, 0, 1, 0, -0.587812185, 0, 0.808997452), Vector3.new(19.569891, 131.600006, 34.3708916))
  3890. createWall(CFrame.new(-2538.93652, 217.300583, 2266.88037, 0.913549721, 0, 0.406727046, 0, 1, 0, -0.406727046, 0, 0.913549721), Vector3.new(19.569891, 131.600006, 34.3708916))
  3891. createWall(CFrame.new(-2805.53906, 217.300583, 2385.57935, 0.913549721, 0, 0.406727046, 0, 1, 0, -0.406727046, 0, 0.913549721), Vector3.new(19.569891, 131.600006, 34.3708916))
  3892. createWall(CFrame.new(-2814.96558, 217.300583, 2356.56763, 0.978144467, 0, 0.207926437, 0, 1, 0, -0.207926437, 0, 0.978144467), Vector3.new(19.569891, 131.600006, 34.3708916))
  3893. createWall(CFrame.new(-1465.67212, 65.1518402, 2326.36108, 0.418038607, 0, 0.908429265, 0, 1, 0, -0.908429265, 0, 0.418038607), Vector3.new(6.95999908, 137.723663, 119.360001))
  3894. createWall(CFrame.new(-1945.50989, 101.343674, 2432.42505, -1, 0, 0, 0, 1, 0, 0, 0, -1), Vector3.new(128.319931, 191.080002, 11.8899946))
  3895. createWall(CFrame.new(-2297.98022, 144.288208, 2350.95459, -1, 0, 0, 0, 1, 0, 0, 0, -1), Vector3.new(476.47998, 282.413544, 13.9443436))
  3896. createWall(CFrame.new(-2818.1543, 217.300583, 2326.22998, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(19.569891, 131.600006, 34.3708916))
  3897. createWall(CFrame.new(-1131.17993, 69.9086685, 2381.5293, -1, 0, 0, 0, 1, 0, 0, 0, -1), Vector3.new(20.5199738, 128.209991, 74.9199982))
  3898. createWall(CFrame.new(-1420.72083, 65.1518402, 2388.11353, 0.979213893, -0, -0.202830359, 0, 1, -0, 0.202830359, 0, 0.979213893), Vector3.new(6.95999908, 137.723663, 81.0299988))
  3899. createWall(CFrame.new(-961.265015, 69.9086685, 2380.78955, -1, 0, 0, 0, 1, 0, 0, 0, -1), Vector3.new(16.0899849, 128.209991, 76.3999939))
  3900. createWall(CFrame.new(-1189.79504, 69.9086685, 2350.74414, -1, 0, 0, 0, 1, 0, 0, 0, -1), Vector3.new(137.75, 128.209991, 13.9499998))
  3901. createWall(CFrame.new(-1169.94495, 69.9086685, 2300.8855, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(98.0499878, 128.209991, 13.9499998))
  3902. createWall(CFrame.new(-1680.02002, 101.343666, 2350.79932, -1, 0, 0, 0, 1, 0, 0, 0, -1), Vector3.new(322.239929, 191.079987, 13.4599934))
  3903. createWall(CFrame.new(-1676.88501, 101.343666, 2301.47925, -1, 0, 0, 0, 1, 0, 0, 0, -1), Vector3.new(328.509979, 191.079987, 13.4599934))
  3904. createWall(CFrame.new(-783.23999, 69.9086685, 2301.69507, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(372.139984, 128.209991, 15.29))
  3905. createWall(CFrame.new(-961.265015, 69.9086685, 2271.14014, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(16.0899849, 128.209991, 76.3999939))
  3906. createWall(CFrame.new(-1489.99719, 65.1518402, 2361.78638, 0.418038607, 0, 0.908429265, 0, 1, 0, -0.908429265, 0, 0.418038607), Vector3.new(6.95999908, 137.723663, 67.8799973))
  3907. createWall(CFrame.new(-1131.17993, 69.9086685, 2270.40039, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(20.5199738, 128.209991, 74.9199982))
  3908. createWall(CFrame.new(-1047.32996, 69.9086685, 2241.58521, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(188.219971, 128.209991, 17.2899971))
  3909. createWall(CFrame.new(-2294.77515, 144.288223, 2300.9751, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(489.929993, 282.413544, 13.9443436))
  3910. createWall(CFrame.new(-1047.32996, 69.9086685, 2410.34448, -1, 0, 0, 0, 1, 0, 0, 0, -1), Vector3.new(188.219971, 128.209991, 17.2899971))
  3911. createWall(CFrame.new(-2055.80542, 63.3636742, 2325.40967, 0, 0, 1, 0, 1, -0, -1, 0, 0), Vector3.new(126.679932, 115.119995, 11.8899946))
  3912. createWall(CFrame.new(-605.989746, 69.9086685, 2325.82007, -1, 0, 0, 0, 1, 0, 0, 0, -1), Vector3.new(17.639555, 128.209991, 64.1190643))
  3913. createWall(CFrame.new(-908.832153, 19.1552086, 2328.98291, -1, 0, 0, 0, 1, 0, 0, 0, -1), Vector3.new(623.32428, 26.7030716, 180.023346))
  3914. createWall(CFrame.new(-1240.33691, 19.1552086, 2326.72632, -1, 0, 0, 0, 1, 0, 0, 0, -1), Vector3.new(44.9513016, 26.7030716, 38.2773705))
  3915. createWall(CFrame.new(-1246.12073, 2.28969336, 2217.56665, -0.994147718, -0.0294061154, -0.103950247, 0.00436780788, 0.950511336, -0.310659111, 0.107941173, -0.309295058, -0.944820225), Vector3.new(43.4626274, 0.818213403, 196.637329))
  3916. createWall(CFrame.new(-1283.27283, -26.5007706, 2155.53857, -0.785861552, -0.612678826, -0.0839429274, -0.561007082, 0.763435185, -0.320059299, 0.260178566, -0.204429671, -0.943671346), Vector3.new(22.6772556, 2.00851345, 39.9963722))
  3917. createWall(CFrame.new(-1277.3429, -23.8319092, 2181.02539, -0.785853446, -0.528600097, 0.320961922, -0.561008096, 0.390993059, -0.729653716, 0.260201216, -0.75346303, -0.603811979), Vector3.new(24.3937035, 18.8500004, 1.07342899))
  3918. createWall(CFrame.new(-1279.44299, -28.572773, 2173.7793, -1.00000024, 0, 0, 0, 1, -5.96046448e-08, 0, 5.96046448e-08, -1), Vector3.new(171.743622, 4.61810207, 136.415924))
  3919. createWall(CFrame.new(-1312.07739, -23.9459343, 2329.72607, -0.99006927, 0.0131960101, -0.13996321, 0.0200383328, 0.998665988, -0.0475906916, 0.139148533, -0.0499224477, -0.98901242), Vector3.new(93.4838867, 4.94735384, 208.818771))
  3920. createWall(CFrame.new(-1286.50586, -19.7647514, 2468.22461, -1.00000107, -2.79396772e-09, 0, 2.79396772e-09, 1.00000012, -2.38418579e-07, 0, 2.38418579e-07, -1.00000012), Vector3.new(93.4838867, 7.73166227, 87.2299957))
  3921. createWall(CFrame.new(-1286.50586, -20.5263233, 2466.67285, -1.00000107, -2.79396772e-09, 0, 2.79396772e-09, 1.00000012, -2.38418579e-07, 0, 2.38418579e-07, -1.00000012), Vector3.new(93.4838867, 8.40604877, 90.3334351))
  3922. createWall(CFrame.new(-1286.50586, -20.8730373, 2463.3562, -1.00000107, -2.79396772e-09, 0, 2.79396772e-09, 1.00000012, -2.38418579e-07, 0, 2.38418579e-07, -1.00000012), Vector3.new(93.4838867, 7.71262121, 96.9668121))
  3923. createWall(CFrame.new(-1286.50586, -21.1191273, 2460.82324, -1.00000107, -2.79396772e-09, 0, 2.79396772e-09, 1.00000012, -2.38418579e-07, 0, 2.38418579e-07, -1.00000012), Vector3.new(93.4838867, 7.21999979, 102.032936))
  3924. createWall(CFrame.new(-1357.41565, -10.7322168, 2529.74609, -0.974118412, 0.215022326, -0.0697357282, 0.21412079, 0.976597607, 0.0202486329, 0.0724577755, 0.00479363743, -0.99736017), Vector3.new(87.857872, 5.51671267, 107.359512))
  3925. createWall(CFrame.new(-1349.19824, 38.4995384, 2479.56812, -0.974118412, 0.215022326, -0.0697357282, 0.21412079, 0.976597607, 0.0202486329, 0.0724577755, 0.00479363743, -0.99736017), Vector3.new(85.6598358, 104.72879, 6.42000008))
  3926. createWall(CFrame.new(-1453.97693, 1.46386302, 2476.76196, -1.00000453, 9.7497832e-09, -1.49011612e-08, -9.7497832e-09, 1.00000048, -9.550713e-07, -1.49011612e-08, 9.550713e-07, -1.00000036), Vector3.new(109.169998, 0.424085021, 108.226189))
  3927. createWall(CFrame.new(-1454.32715, 1.63537717, 2476.76196, -1.00000453, 9.7497832e-09, -1.49011612e-08, -9.7497832e-09, 1.00000048, -9.550713e-07, -1.49011612e-08, 9.550713e-07, -1.00000036), Vector3.new(108.46965, 0.767113209, 108.226189))
  3928. createWall(CFrame.new(-1454.69763, 1.91353273, 2476.76196, -1.00000453, 9.7497832e-09, -1.49011612e-08, -9.7497832e-09, 1.00000048, -9.550713e-07, -1.49011612e-08, 9.550713e-07, -1.00000036), Vector3.new(107.728615, 1.32342398, 108.226189))
  3929. createWall(CFrame.new(-1443.73267, 10.8826275, 2394.87671, -0.977953851, -0.0425007194, 0.204492941, 0.00425821915, 0.974818051, 0.222961426, -0.208821028, 0.218918473, -0.953138232), Vector3.new(36.4249535, 6.1712513, 130.547668))
  3930. createWall(CFrame.new(-1427.18213, 70.4603043, 2405.68164, -0.977953851, -0.0425007194, 0.204492941, 0.00425821915, 0.974818051, 0.222961426, -0.208821028, 0.218918473, -0.953138232), Vector3.new(0.0500000007, 125.649826, 117.808311))
  3931. createWall(CFrame.new(-1487.76672, 20.8402691, 2338.7666, -0.893995583, 0.14297086, 0.424654365, 0.145493388, 0.988999486, -0.0266750585, -0.423796773, 0.0379370227, -0.90496242), Vector3.new(88.661377, 9.92626381, 41.2240219))
  3932. createWall(CFrame.new(-1700.78955, 29.0303326, 2325.34424, -1.00000012, 2.97213205e-08, 1.88447302e-08, -2.97213205e-08, 0.999999821, -1.86264515e-09, 1.88447302e-08, 1.86264515e-09, -0.999999881), Vector3.new(371.852844, 5.56997252, 53.5832138))
  3933. createWall(CFrame.new(-1529.57568, 28.8269882, 2325.34424, -1.00000012, 2.97213205e-08, 1.88447302e-08, -2.97213205e-08, 0.999999821, -1.86264515e-09, 1.88447302e-08, 1.86264515e-09, -0.999999881), Vector3.new(31.7297535, 5.16327238, 53.5832138))
  3934. createWall(CFrame.new(-1528.28796, 28.558382, 2325.34424, -1.00000012, 2.97213205e-08, 1.88447302e-08, -2.97213205e-08, 0.999999821, -1.86264515e-09, 1.88447302e-08, 1.86264515e-09, -0.999999881), Vector3.new(31.3896217, 4.62606096, 53.5832138))
  3935. createWall(CFrame.new(-1527.79773, 28.3058643, 2325.34424, -1.00000012, 2.97213205e-08, 1.88447302e-08, -2.97213205e-08, 0.999999821, -1.86264515e-09, 1.88447302e-08, 1.86264515e-09, -0.999999881), Vector3.new(32.3699989, 4.12102604, 53.5832138))
  3936. createWall(CFrame.new(-1527.37683, 28.102354, 2325.34424, -1.00000012, 2.97213205e-08, 1.88447302e-08, -2.97213205e-08, 0.999999821, -1.86264515e-09, 1.88447302e-08, 1.86264515e-09, -0.999999881), Vector3.new(33.211895, 3.71400523, 53.5832138))
  3937. createWall(CFrame.new(-1526.84424, 27.9374313, 2325.34424, -1.00000012, 2.97213205e-08, 1.88447302e-08, -2.97213205e-08, 0.999999821, -1.86264515e-09, 1.88447302e-08, 1.86264515e-09, -0.999999881), Vector3.new(34.2771111, 3.38415861, 53.5832138))
  3938. createWall(CFrame.new(-1855.52856, 37.2675323, 2286.03491, -1.00000024, -8.24050039e-06, 3.51449016e-05, 4.88978958e-06, 0.932308853, 0.36166212, -3.57189347e-05, 0.36166209, -0.932308912), Vector3.new(44.2060127, 6.02838516, 49.6322327))
  3939. createWall(CFrame.new(-1858.3186, 46.4191093, 2232.7439, -1.00000048, 1.18888238e-07, 7.53789209e-08, -1.18888238e-07, 0.999999285, 0, 7.53789209e-08, 0, -0.999999404), Vector3.new(56.2976837, 5.61337185, 63.1329041))
  3940. createWall(CFrame.new(-1938.64209, 59.3698273, 2253.55371, -0.975066185, 0.221918508, 1.4699873e-07, 0.221918583, 0.975063741, -3.34559616e-08, 1.50757813e-07, -8.96166618e-15, -0.999998748), Vector3.new(141.891571, 6.28999996, 63.1329041))
  3941. createWall(CFrame.new(-2031.08984, 76.6613846, 2259.55518, -1.00000191, 4.61935997e-07, 3.01515627e-07, -4.61935997e-07, 0.999997079, 5.15942202e-14, 3.01515627e-07, -5.15942202e-14, -0.999997497), Vector3.new(48.2068825, 3.13832617, 97.6713715))
  3942. createWall(CFrame.new(-2037.69958, 90.5315781, 2323.69995, -1.00000381, -4.73108639e-06, -5.01252653e-05, 4.97483006e-06, 0.975067258, -0.221883357, 5.15119791e-05, -0.221883178, -0.975068092), Vector3.new(48.2068825, 4.05999994, 133.019562))
  3943. createWall(CFrame.new(-2035.52686, 103.249794, 2413.302, -1, 1.79664345e-14, 1.13686838e-13, -1.79664345e-14, 1, -8.8817842e-16, 1.13686838e-13, 8.8817842e-16, -1), Vector3.new(48.8988571, 8.13232899, 50.8320503))
  3944. createWall(CFrame.new(-1952.27319, 116.819923, 2413.41699, -0.97507298, -0.221884459, 5.84738664e-05, -0.221884459, 0.97507298, 7.50656818e-06, -5.86818787e-05, -5.65499067e-06, -1), Vector3.new(144.940002, 7.03901482, 40.3282356))
  3945. createWall(CFrame.new(-1857.91382, 134.10907, 2348.59229, -0.99999994, 3.59328656e-14, 2.27373662e-13, -3.5932869e-14, 1, -1.77635684e-15, 2.27373675e-13, 1.77635684e-15, -1), Vector3.new(56.4390755, 4.47680473, 177.607712))
  3946. createWall(CFrame.new(-1873.65051, 136.331314, 2318.76172, -0.855346203, 0.518056273, 7.74251973e-13, 0.518056035, 0.85534656, -4.77246931e-13, 9.09494539e-13, 7.10542736e-15, -1), Vector3.new(6.69999218, 0.0500000007, 150.532593))
  3947. createWall(CFrame.new(-1946.55249, 137.231415, 2319.61206, -0.999999166, 2.98023224e-08, 1.81898875e-12, -2.98023224e-08, 1, -1.42108547e-14, 1.81898875e-12, 1.42108547e-14, -1), Vector3.new(137.636246, 3.40450764, 150.532593))
  3948. createWall(CFrame.new(-1945.93896, 137.022552, 2319.61206, -0.999999166, 2.98023224e-08, 1.81898875e-12, -2.98023224e-08, 1, -1.42108547e-14, 1.81898875e-12, 1.42108547e-14, -1), Vector3.new(138.863373, 2.98677969, 150.532593))
  3949. createWall(CFrame.new(-2190.23413, 136.711761, 2325.40161, -0.999999166, 2.98023224e-08, 1.81898875e-12, -2.98023224e-08, 1, -1.42108547e-14, 1.81898875e-12, 1.42108547e-14, -1), Vector3.new(366.358093, 2.36521196, 39.7483025))
  3950. createWall(CFrame.new(-2674.35205, 192.732971, 2320.76904, -1, 0, 0, 0, 1, 0, 0, 0, -1), Vector3.new(279.199799, 6.58692169, 290.013947))
  3951. createWall(CFrame.new(-2672.68774, 192.732971, 2320.76904, -1, 0, 0, 0, 1, 0, 0, 0, -1), Vector3.new(282.528381, 6.58692169, 290.013947))
  3952. createWall(CFrame.new(-2398.11328, 162.203232, 2325.17139, 0.970287263, 0.241955817, 0, -0.241955817, 0.970287263, 0, 0, 0, 1.00000012), Vector3.new(274.739532, 0.558954656, 51.0499992))
  3953. local t = waitForExist(workspace, "borders")
  3954. t:Destroy()
  3955. if _G.destroy_map then
  3956. workspace.Terrain:Clear()
  3957. for i,v in pairs(workspace:GetChildren()) do
  3958. if v.Name ~= "lastBossSafeZones" and v.Name ~="Terrain" and (v.ClassName == "Model" or v:IsA("BasePart")) and v ~= game.Players.LocalPlayer.Character and v.Name ~= regionPartName then
  3959. v:Destroy()
  3960. end
  3961. end
  3962. end
  3963. while true do
  3964. local s = game:GetService("Workspace").dungeon.room3.enemyFolder
  3965. if #s:GetChildren() == 41 then
  3966. forceObjectiveExists = true
  3967. thePart.CFrame = CFrame.new(-1240.337, 7.648, 2246.159)
  3968. while wait() do
  3969. local _,_,_,root = getPlayer()
  3970. if root then
  3971. if root.Position.Y < 21 then break end
  3972. end
  3973. end
  3974. forceObjectiveExists = false
  3975. break
  3976. end
  3977. wait(1)
  3978. end
  3979. while true do
  3980. local s = game:GetService("Workspace").dungeon.room5.enemyFolder
  3981. if #s:GetChildren() == 16 then
  3982. forceObjectiveExists = true
  3983. thePart.CFrame = CFrame.new(-1858.319, 46.419, 2232.744)
  3984. while wait() do
  3985. local _,_,_,root = getPlayer()
  3986. if root then
  3987. if root.Position.Y < 38 then break end
  3988. end
  3989. end
  3990. forceObjectiveExists = false
  3991. break
  3992. end
  3993. wait(1)
  3994. end
  3995. --[[spawn(function()
  3996. while true do
  3997. local s = game:GetService("Workspace").dungeon.room6.enemyFolder
  3998. if s:FindFirstChild("Ancient Temple Protector") then
  3999. local g = s:FindFirstChild("Ancient Temple Protector")
  4000. local ts = game:GetService("TweenService")
  4001. g:WaitForChild("HumanoidRootPart")
  4002. while g ~= nil and g.Parent ~= nil and g:FindFirstChild("Humanoid") and g.Humanoid.Health > 0 do
  4003. local s = g.Humanoid:GetPlayingAnimationTracks()
  4004. bossRange = 15
  4005. for i,v in pairs(s) do
  4006. if v.Animation.AnimationId == "rbxassetid://6106580202" then
  4007. -- doing stupid ass attack
  4008. forceObjectiveExists = true
  4009. walkspeed = 32
  4010. thePart.CFrame = g.HumanoidRootPart.CFrame * CFrame.new(0,-(g.HumanoidRootPart.Size.Y*.4),10)
  4011. local _,_,_,root = getPlayer()
  4012. if root ~= nil then
  4013. dist = (thePart.Position-root.Position).magnitude
  4014. ts:Create(root, TweenInfo.new(dist/30), {CFrame = g.HumanoidRootPart.CFrame * CFrame.new(0,-(g.HumanoidRootPart.Size.Y*.4),10)}):Play()
  4015. warn(dist/30)
  4016. break
  4017. end
  4018. else
  4019. walkspeed = 24
  4020. forceObjectiveExists = false
  4021. end
  4022. end
  4023. wait()
  4024. end
  4025. forceObjectiveExists = false
  4026. bossRange = 15
  4027. break
  4028. end
  4029. wait(1)
  4030. end
  4031. end)]]
  4032. end
  4033. function volcanicFix()
  4034. _G.smallTeleports = true
  4035. _G.teleportDuringBossOnly = true
  4036. createWall(CFrame.new(-1233.02295, 2.79844761, 705.183167, -0.999982297, -6.14493274e-08, -0.00593414903, -6.1298465e-08, 1, -2.56039989e-08, 0.00593414903, -2.52398049e-08, -0.999982297), Vector3.new(148.029877, 17.849968, 161.050003))
  4037. createWall(CFrame.new(-1127.02625, -2.89132118, 699.554077, -0.981609523, 0.190805554, -0.00593414763, 0.190808892, 0.981627166, -2.57277861e-08, 0.0058251163, -0.00113231386, -0.999982119), Vector3.new(69.5298767, 18.849968, 35.0500031))
  4038. createWall(CFrame.new(-793.540466, -8.58208942, 699.325134, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(606.529907, 18.849968, 38.5500031))
  4039. createWall(CFrame.new(-417.026733, -7.0820694, 700.590942, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(157.529907, 18.849968, 158.550003))
  4040. createWall(CFrame.new(-498.050507, 0.667925298, 696.821716, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(5.52990723, 2.34996796, 37.0500031))
  4041. createWall(CFrame.new(-498.800507, 0.417925298, 696.826172, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(7.02990723, 1.84996796, 37.0500031))
  4042. createWall(CFrame.new(135.459915, -8.58203983, 696.812256, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(280.529907, 18.849968, 44.5500031))
  4043. createWall(CFrame.new(273.457336, -8.0820322, 695.993347, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(4.52990723, 19.849968, 44.5500031))
  4044. createWall(CFrame.new(276.957275, -7.5820322, 695.972595, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(9.52990723, 20.849968, 44.5500031))
  4045. createWall(CFrame.new(289.707031, -6.58203173, 695.896912, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(21.0299072, 22.849968, 44.5500031))
  4046. createWall(CFrame.new(-12.0373135, -8.08204746, 697.687561, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(44.5299072, 19.849968, 44.5500031))
  4047. createWall(CFrame.new(-14.5372658, -7.58204746, 697.702393, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(39.5299072, 20.849968, 44.5500031))
  4048. createWall(CFrame.new(-16.5372276, -7.08204746, 697.714233, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(35.5299072, 21.849968, 44.5500031))
  4049. createWall(CFrame.new(-19.0371799, -6.58204746, 697.729065, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(30.5299072, 22.849968, 44.5500031))
  4050. createWall(CFrame.new(-24.2870808, -6.08204794, 697.760193, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(20.0299072, 23.849968, 44.5500031))
  4051. createWall(CFrame.new(-40.2867775, -5.83204842, 697.855164, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(39.0299072, 24.349968, 44.5500031))
  4052. createWall(CFrame.new(-44.036705, -6.58204842, 697.877441, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(46.5299072, 22.849968, 44.5500031))
  4053. createWall(CFrame.new(-48.0366287, -7.08204889, 697.901123, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(54.5299072, 21.849968, 44.5500031))
  4054. createWall(CFrame.new(-65.2863083, -7.33204985, 698.003479, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(89.0299072, 21.349968, 44.5500031))
  4055. createWall(CFrame.new(-80.536026, -7.58205032, 698.093994, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(119.529907, 20.849968, 44.5500031))
  4056. createWall(CFrame.new(-88.5358734, -8.08205032, 698.141479, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(135.529907, 19.849968, 44.5500031))
  4057. createWall(CFrame.new(-113.535408, -8.58205223, 698.289856, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(185.529907, 18.849968, 44.5500031))
  4058. createWall(CFrame.new(-215.033478, -8.08205795, 698.89209, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(26.5299072, 19.849968, 44.5500031))
  4059. createWall(CFrame.new(-243.282944, -7.83205986, 699.059753, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(32.0299072, 20.349968, 44.5500031))
  4060. createWall(CFrame.new(-270.78241, -7.33206129, 699.222961, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(49.0299072, 21.349968, 44.5500031))
  4061. createWall(CFrame.new(-309.781677, -7.0820632, 699.454407, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(53.0299072, 21.849968, 44.5500031))
  4062. createWall(CFrame.new(-313.281616, -6.5820632, 699.475159, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(46.0299072, 22.849968, 44.5500031))
  4063. createWall(CFrame.new(-314.781586, -6.3320632, 699.48407, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(43.0299072, 23.349968, 44.5500031))
  4064. createWall(CFrame.new(-317.031555, -5.8320632, 699.497437, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(38.5299072, 24.349968, 44.5500031))
  4065. createWall(CFrame.new(-319.531494, -5.5820632, 699.512268, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(33.5299072, 24.849968, 44.5500031))
  4066. createWall(CFrame.new(-320.531464, -6.0820632, 699.518188, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(35.5299072, 23.849968, 44.5500031))
  4067. createWall(CFrame.new(-323.031403, -6.5820632, 699.53302, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(40.5299072, 22.849968, 44.5500031))
  4068. createWall(CFrame.new(-326.776886, -6.5820632, 700.305298, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(48.0299072, 22.849968, 76.0500031))
  4069. createWall(CFrame.new(-330.281281, -7.0820632, 699.57605, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(55.0299072, 21.849968, 90.5500031))
  4070. createWall(CFrame.new(-2341.5, 9.19974613, 695.25, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(197, 3, 194.5))
  4071. createWall(CFrame.new(-2244.75, 10.1997461, 695.25, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(10.5, 1, 194.5))
  4072. createWall(CFrame.new(-46.5366592, -6.33204842, 697.892273, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(34.5299072, 23.349968, 44.5500031))
  4073. createWall(CFrame.new(278.207245, -7.0820322, 695.965149, -0.999981225, -4.8950298e-08, -0.00593414297, -5.41017471e-08, 0.999999881, -2.59606168e-08, 0.00593414484, -2.53785402e-08, -0.999981582), Vector3.new(7.02990723, 21.849968, 44.5500031))
  4074. createWall(CFrame.new(-2093.75, 9.94974613, 696.75, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(692.5, 0.5, 37.5))
  4075. createWall(CFrame.new(-1725.44324, 10.6997461, 694.778015, 0.694658399, 0, 0.719339788, 0, 1, 0, -0.719339788, 0, 0.694658399), Vector3.new(48, 2, 45))
  4076. createWall(CFrame.new(-1339.51733, 4.49533796, 698.180054, 0.99026829, -0.13917312, 0, 0.13917312, 0.99026829, 0, 0, 0, 1), Vector3.new(67.5, 4, 37))
  4077. createWall(CFrame.new(-1363.59412, 1.11156046, 708.326904, 0.820969999, -0.13917318, 0.553750992, 0.115379818, 0.990268767, 0.0778246224, -0.559193194, 0, 0.829037607), Vector3.new(34, 4, 49))
  4078. createWall(CFrame.new(-1371.4259, -0.998918772, 723.160156, 0.930549145, -0.139173374, -0.338692099, 0.13078016, 0.990270197, -0.047600057, 0.34202072, -7.4505806e-09, 0.939693034), Vector3.new(38.5, 4, 48))
  4079. createWall(CFrame.new(-1393.78589, -4.70867538, 741.874329, 0.525701582, -0.11796616, -0.842453718, 0.0624936409, 0.993020117, -0.100052938, 0.848372996, -4.99562702e-05, 0.529402494), Vector3.new(57, 4, 48))
  4080. createWall(CFrame.new(-1426.87244, -9.64694118, 727.73645, -0.0525785685, -0.117965765, -0.991624653, -0.00619550375, 0.993017733, -0.117802992, 0.998597682, -5.02976873e-05, -0.0529423133), Vector3.new(43, 4, 49))
  4081. createWall(CFrame.new(-1542.79834, -24.1414528, 693.151733, 0.151433259, -0.117894612, -0.981410801, 0.0179410838, 0.993028104, -0.116522513, 0.988308668, 3.75595118e-05, 0.152491033), Vector3.new(16.5, 4, 24.5))
  4082. createWall(CFrame.new(-1525.43823, -22.3317413, 680.852295, 0.711567044, -0.117893316, -0.692656934, 0.0844521746, 0.993026376, -0.0822597519, 0.697524667, 3.69343543e-05, 0.716561079), Vector3.new(16.5, 3.5, 31))
  4083. createWall(CFrame.new(-1512.83789, -21.387928, 669.898132, 0.0859401673, -0.117966108, -0.989292026, 0.010259347, 0.993018389, -0.117519177, 0.996249139, -4.99039452e-05, 0.086550802), Vector3.new(16.5, 3.5, 26))
  4084. createWall(CFrame.new(-1502.39136, -20.650486, 668.989319, 0.0859401673, -0.117966108, -0.989292026, 0.010259347, 0.993018389, -0.117519177, 0.996249139, -4.99039452e-05, 0.086550802), Vector3.new(16.5, 3.5, 26))
  4085. createWall(CFrame.new(-1481.26001, -18.1399117, 673.785461, -0.526738107, -0.117966197, -0.841804624, -0.0625315532, 0.993019879, -0.100029439, 0.847729981, -4.99358321e-05, -0.530434847), Vector3.new(16.5, 3.5, 26))
  4086. createWall(CFrame.new(-1468.12195, -15.5714817, 686.85675, -0.526738107, -0.117966197, -0.841804624, -0.0625315532, 0.993019879, -0.100029439, 0.847729981, -4.99358321e-05, -0.530434847), Vector3.new(24.5, 3.5, 34.5))
  4087. createWall(CFrame.new(-1726.15015, 10.4497461, 694.790344, 0.694658399, 0, 0.719339788, 0, 1, 0, -0.719339788, 0, 0.694658399), Vector3.new(49, 1.5, 46))
  4088. createWall(CFrame.new(-1727.22302, 10.1997461, 694.101868, 0.694658399, 0, 0.719339788, 0, 1, 0, -0.719339788, 0, 0.694658399), Vector3.new(49.5, 1, 48.5))
  4089. createWall(CFrame.new(-1594.52539, -24.3682365, 695.275208, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(88.5, 2.5, 96))
  4090. createWall(CFrame.new(-1677.15637, -15.417098, 623.046021, 0.984657705, 0.0171872638, -0.173648149, -0.0174524058, 0.99984771, 0, 0.173621729, 0.00303057837, 0.98480767), Vector3.new(80.5, 8, 85.5))
  4091. createWall(CFrame.new(-1450.97681, -13.2820768, 704.461609, -0.526738107, -0.117966197, -0.841804624, -0.0625315532, 0.993019879, -0.100029439, 0.847729981, -4.99358321e-05, -0.530434847), Vector3.new(36, 4, 32.5))
  4092. createWall(CFrame.new(-1635.84265, -139.839996, 622.938721, 0.178292945, 0, 0.98397553, 0, 1, 0, -0.983975589, 0, 0.178293034), Vector3.new(14, 255, 4.35629797))
  4093. createWall(CFrame.new(-1631.328, -140.839996, 623.947815, 0.2464917, 0, 0.969143093, 0, 1, 0, -0.969143093, 0, 0.24649176), Vector3.new(14, 255, 5.8792901))
  4094. createWall(CFrame.new(-1608.31348, -147.839996, 639.822876, 0.866703033, 0, 0.498820961, 0, 1, 0, -0.498820961, 0, 0.866703033), Vector3.new(14, 255, 5.13447332))
  4095. createWall(CFrame.new(-1606.00684, -148.839996, 644.197998, 0.899387717, 0, 0.437147677, 0, 1, 0, -0.437147677, 0, 0.899387717), Vector3.new(14, 255, 5.74125433))
  4096. createWall(CFrame.new(-1626.75098, -141.839996, 625.260925, 0.313491344, 0, 0.949589133, 0, 1, 0, -0.949589133, 0, 0.313491404), Vector3.new(14, 255, 4.62769413))
  4097. createWall(CFrame.new(-1623.35046, -142.839996, 626.612061, 0.426887631, 0, 0.904302716, 0, 1, 0, -0.904302716, 0, 0.426887691), Vector3.new(14, 255, 4.41635466))
  4098. createWall(CFrame.new(-1610.32239, -146.839996, 636.802979, 0.78356123, 0, 0.621311903, 0, 1, 0, -0.621311784, 0, 0.783561289), Vector3.new(14, 255, 4.21742392))
  4099. createWall(CFrame.new(-1619.98938, -143.839996, 628.473572, 0.532674611, 0, 0.846318007, 0, 1, 0, -0.846318007, 0, 0.53267467), Vector3.new(14, 255, 4.97442102))
  4100. createWall(CFrame.new(-1616.38782, -144.839996, 630.914368, 0.590408921, 0, 0.807102084, 0, 1, 0, -0.807102084, 0, 0.59040904), Vector3.new(14, 255, 4.71004725))
  4101. createWall(CFrame.new(-1613.16479, -145.839996, 633.713562, 0.701997042, 0, 0.712177455, 0, 1, 0, -0.712177455, 0, 0.701997101), Vector3.new(14, 255, 5.9066267))
  4102. createWall(CFrame.new(-1604.04761, -149.839996, 648.575867, 0.927696943, 0, 0.373347104, 0, 1, 0, -0.373347104, 0, 0.927697003), Vector3.new(14, 255, 4.8348875))
  4103. createWall(CFrame.new(-1712.18823, -137.559921, 611.531189, -0.0305747688, -3.8556589e-08, 0.999530673, -1.6698479e-07, 1, 3.34666268e-08, -0.999530613, -1.6588379e-07, -0.030574739), Vector3.new(14, 255, 5.74125433))
  4104. createWall(CFrame.new(-1717.12427, -136.559921, 611.844177, -0.100224018, -3.8556589e-08, 0.994963169, -1.6891255e-07, 1, 2.17368452e-08, -0.994963109, -1.6588379e-07, -0.100223958), Vector3.new(14, 255, 5.13447332))
  4105. createWall(CFrame.new(-1720.7019, -135.559921, 612.44043, -0.246018708, -3.8556589e-08, 0.969263375, -1.7027071e-07, 1, -3.43903395e-09, -0.969263315, -1.6588379e-07, -0.246018708), Vector3.new(14, 255, 4.21742392))
  4106. createWall(CFrame.new(-1724.68433, -134.559921, 613.768799, -0.362314641, -3.8556589e-08, 0.932054043, -1.68582289e-07, 1, -2.41653098e-08, -0.932054043, -1.6588379e-07, -0.362314641), Vector3.new(14, 255, 5.9066267))
  4107. createWall(CFrame.new(-1728.55774, -133.559921, 615.56311, -0.494606912, -3.8556589e-08, 0.869114876, -1.63242419e-07, 1, -4.85371636e-08, -0.869114757, -1.6588379e-07, -0.494606853), Vector3.new(14, 255, 4.71004725))
  4108. createWall(CFrame.new(-1732.25928, -132.559921, 617.849548, -0.554024041, -3.8556589e-08, 0.83249861, -1.5945929e-07, 1, -5.9805302e-08, -0.83249855, -1.6588379e-07, -0.554023981), Vector3.new(14, 255, 4.97442102))
  4109. createWall(CFrame.new(-1735.33374, -131.559921, 620.153809, -0.650239468, -3.8556589e-08, 0.759727001, -1.5109741e-07, 1, -7.8571702e-08, -0.759726942, -1.6588379e-07, -0.650239348), Vector3.new(14, 255, 4.41635466))
  4110. createWall(CFrame.new(-1737.95874, -130.559921, 622.703003, -0.737985492, -3.8556589e-08, 0.674813986, -1.40394903e-07, 1, -9.64013083e-08, -0.674813926, -1.6588379e-07, -0.737985432), Vector3.new(14, 255, 4.62769413))
  4111. createWall(CFrame.new(-1741.03076, -129.559921, 626.341125, -0.783257902, -3.8556589e-08, 0.621694207, -1.33328726e-07, 1, -1.0595938e-07, -0.621694148, -1.6588379e-07, -0.783257842), Vector3.new(14, 255, 5.8792901))
  4112. createWall(CFrame.new(-1743.79993, -128.559921, 630.046875, -0.824713767, -3.8556589e-08, 0.565547168, -1.25613255e-07, 1, -1.15001065e-07, -0.565547168, -1.6588379e-07, -0.824713647), Vector3.new(14, 255, 4.35629797))
  4113. createWall(CFrame.new(-1745.77539, -127.560036, 633.337646, -0.879498184, -8.67711378e-08, 0.475898564, -1.12849136e-07, 1, -2.62235904e-08, -0.475898594, -7.67686217e-08, -0.879498243), Vector3.new(14, 255, 4.99258232))
  4114. createWall(CFrame.new(-1747.48596, -126.560036, 637.008545, -0.930946112, -8.67711378e-08, 0.365169674, -1.08812841e-07, 1, -3.97812556e-08, -0.365169674, -7.67686217e-08, -0.930946112), Vector3.new(14, 255, 4.8348875))
  4115. createWall(CFrame.new(-1749.06567, -125.560036, 641.53717, -0.954145014, -8.67711378e-08, 0.299338609, -1.05772067e-07, 1, -4.72744333e-08, -0.299338609, -7.67686217e-08, -0.954145014), Vector3.new(14, 255, 5.74125433))
  4116. createWall(CFrame.new(-1750.39087, -124.560036, 646.302246, -0.972701669, -8.67711378e-08, 0.2320517, -1.02216717e-07, 1, -5.45375691e-08, -0.2320517, -7.67686217e-08, -0.972701669), Vector3.new(14, 255, 5.13447332))
  4117. createWall(CFrame.new(-1751.00244, -123.560036, 649.877319, -0.99630177, -8.67711378e-08, 0.0859023929, -9.30448607e-08, 1, -6.90308681e-08, -0.0859024227, -7.67686217e-08, -0.996301889), Vector3.new(14, 255, 4.21742392))
  4118. createWall(CFrame.new(-1751.05554, -122.560036, 654.075134, -0.99934417, -8.67711378e-08, -0.0361632407, -8.39380334e-08, 1, -7.98561928e-08, 0.0361632407, -7.67686217e-08, -0.99934417), Vector3.new(14, 255, 5.9066267))
  4119. createWall(CFrame.new(-1750.63257, -121.560036, 658.322998, -0.983336091, -8.67711378e-08, -0.181787133, -7.13696551e-08, 1, -9.12632245e-08, 0.181787133, -7.67686217e-08, -0.983336091), Vector3.new(14, 255, 4.71004725))
  4120. createWall(CFrame.new(-1749.68848, -120.560036, 662.570007, -0.968261242, -8.67711378e-08, -0.249933213, -6.4830104e-08, 1, -9.60190647e-08, 0.249933243, -7.67686217e-08, -0.968261242), Vector3.new(14, 255, 4.97442102))
  4121. createWall(CFrame.new(-1741.95715, -116.560036, 677.476013, -0.80499965, -8.67711378e-08, -0.59327215, -2.43060558e-08, 1, -1.13277608e-07, 0.59327215, -7.67686217e-08, -0.80499959), Vector3.new(14, 255, 4.35629797))
  4122. createWall(CFrame.new(-1744.5481, -117.560036, 673.643494, -0.844420195, -8.67711378e-08, -0.535677969, -3.21480513e-08, 1, -1.11306363e-07, 0.535678029, -7.67686217e-08, -0.844420195), Vector3.new(14, 255, 5.8792901))
  4123. createWall(CFrame.new(-1746.97571, -118.560036, 669.54718, -0.879728258, -8.67711378e-08, -0.475472927, -3.98336297e-08, 1, -1.08792854e-07, 0.475472957, -7.67686217e-08, -0.879728317), Vector3.new(14, 255, 4.62769413))
  4124. createWall(CFrame.new(-1748.52148, -119.560036, 666.230652, -0.931119382, -8.67711378e-08, -0.364709496, -5.27960502e-08, 1, -1.03127007e-07, 0.364709556, -7.67686217e-08, -0.931119382), Vector3.new(14, 255, 4.41635466))
  4125. createWall(CFrame.new(-1740.73279, 50.4497452, 720.327759, 0.694658399, 0, 0.719339788, 0, 1, 0, -0.719339788, 0, 0.694658399), Vector3.new(8, 81.5, 31.5))
  4126. createWall(CFrame.new(-1994.25, 10.4497461, 709.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(492.5, 0.5, 5))
  4127. createWall(CFrame.new(-1994.25, 10.4497461, 681.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(492.5, 0.5, 4))
  4128. wait(.1)
  4129. local t = waitForExist(workspace, "borders")
  4130. for i,v in pairs(t:GetChildren()) do
  4131. cs:AddTag(v, "RayWhitelist")
  4132. v.Transparency = _G.wall_transparency
  4133. end
  4134. if _G.destroy_map then
  4135. workspace.map:Destroy()
  4136. else
  4137. for j, k in pairs(workspace.map:GetChildren()) do
  4138. if k:FindFirstChild("Meshes/Forgers Mark2_Circle.001") then
  4139. k:Destroy()
  4140. end
  4141. end
  4142. end
  4143.  
  4144. end
  4145.  
  4146. function fixOrbital()
  4147. _G.smallTeleports = true
  4148. _G.teleportDuringBossOnly = true
  4149. createWall(CFrame.new(2.05055237, 6.13212585, 144.456467, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(184, 1.5, 81))
  4150. createWall(CFrame.new(-27.9494476, 18.8821259, 183.206467, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(130, 27, 3.5))
  4151. createWall(CFrame.new(65.8005524, 18.8821259, 182.206467, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(60.5, 27, 5.5))
  4152. createWall(CFrame.new(80.5505524, 18.8821259, 176.206467, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(31, 27, 17.5))
  4153. createWall(CFrame.new(91.5505524, 18.8821259, 162.206467, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(9, 27, 45.5))
  4154. createWall(CFrame.new(71.8005524, 20.3821259, 101.206467, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(72.5, 30, 3.5))
  4155. createWall(CFrame.new(86.5673981, 5.77369833, 120.956467, 0.98480767, -0.173648179, 0, 0.173648179, 0.98480767, 0, 0, 0, 1), Vector3.new(40, 7, 38))
  4156. createWall(CFrame.new(122.800552, 8.88212585, 116.456467, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(35.5, 7, 35))
  4157. createWall(CFrame.new(136.300552, 16.8821259, 132.706467, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(60.5, 23, 10.5))
  4158. createWall(CFrame.new(123.300552, 16.8821259, 103.206467, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(34.5, 23, 0.5))
  4159. createWall(CFrame.new(130.692398, 10.4759054, 116.456467, 0.98480773, -0.173648179, 0, 0.173648179, 0.98480773, 0, 0, 0, 1), Vector3.new(24, 7, 35))
  4160. createWall(CFrame.new(225.300552, 10.8821259, 83.7064667, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(172.5, 11, 149.5))
  4161. createWall(CFrame.new(139.050552, 16.6321259, 84.4564667, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(11, 22.5, 47))
  4162. createWall(CFrame.new(151.469864, 16.6321259, 61.0406761, 0.91354543, 0, -0.406736642, 0, 1, 0, 0.406736642, 0, 0.91354543), Vector3.new(3, 22.5, 94))
  4163. createWall(CFrame.new(169.348312, 16.6321259, 42.4514313, 0.694658279, 0, -0.719339728, 0, 1, 0, 0.719339728, 0, 0.694658279), Vector3.new(4, 22.5, 94))
  4164. createWall(CFrame.new(207.741302, 16.6321259, 22.175375, 0.358367801, 0, -0.93358016, 0, 1, 0, 0.93358016, 0, 0.358367801), Vector3.new(3.5, 22.5, 94))
  4165. createWall(CFrame.new(200.99971, 16.6321259, 23.0883999, 0.0174523592, 0, -0.999846816, 0, 1, 0, 0.999846816, 0, 0.0174523592), Vector3.new(2, 22.5, 94))
  4166. createWall(CFrame.new(251.564911, 16.6321259, 18.5538025, 0.766042292, 0, -0.642785966, 0, 1, 0, 0.642785966, 0, 0.766042292), Vector3.new(2, 22.5, 13.5))
  4167. createWall(CFrame.new(255.064896, 16.6321259, 9.05387974, 0.999991894, 0, -1.78813934e-07, 0, 1, 0, 1.78813934e-07, 0, 0.999991894), Vector3.new(5, 22.5, 13.5))
  4168. createWall(CFrame.new(170.300552, 16.8821259, 128.706467, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(9.5, 23, 18.5))
  4169. createWall(CFrame.new(174.550552, 16.8821259, 109.206467, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(1, 23, 21.5))
  4170. createWall(CFrame.new(178.440842, 16.8821259, 87.8495941, 0.906307757, 0, -0.42261827, 0, 1, 0, 0.42261827, 0, 0.906307757), Vector3.new(3, 23, 26.5))
  4171. createWall(CFrame.new(192.023926, 16.8821259, 70.1889038, 0.629320323, 0, -0.777145863, 0, 1, 0, 0.777145863, 0, 0.629320323), Vector3.new(4, 23, 21))
  4172. createWall(CFrame.new(207.625092, 16.8821259, 62.0181961, 0.258818924, 0, -0.965925455, 0, 1, 0, 0.965925455, 0, 0.258818924), Vector3.new(5.5, 23, 21.5))
  4173. createWall(CFrame.new(235.841599, 16.8821259, 62.0727882, -0.0174523555, 0, -0.999844193, 0, 1, 0, 0.999844193, 0, -0.0174523555), Vector3.new(9, 23, 42))
  4174. createWall(CFrame.new(268.73175, 16.8821259, 68.6477737, -0.0174523555, 0, -0.999844193, 0, 1, 0, 0.999844193, 0, -0.0174523555), Vector3.new(6, 23, 49))
  4175. createWall(CFrame.new(295.005676, 16.8821259, 38.8518867, -0.0174523555, 0, -0.999844193, 0, 1, 0, 0.999844193, 0, -0.0174523555), Vector3.new(66.5, 23, 5.5))
  4176. createWall(CFrame.new(290.775604, 16.8821259, 9.02362251, -0.0174523555, 0, -0.999844193, 0, 1, 0, 0.999844193, 0, -0.0174523555), Vector3.new(13, 23, 15))
  4177. createWall(CFrame.new(237.565033, 20.8821259, -8.44598103, 0.999991894, 0, -1.78813934e-07, 0, 1, 0, 1.78813934e-07, 0, 0.999991894), Vector3.new(31, 31, 48.5))
  4178. createWall(CFrame.new(216.315201, 20.8821259, -32.4457855, 0.999991894, 0, -1.78813934e-07, 0, 1, 0, 1.78813934e-07, 0, 0.999991894), Vector3.new(21.5, 31, 96.5))
  4179. createWall(CFrame.new(335.789215, 20.8821259, -32.4457664, 0.999991894, 0, -1.78813934e-07, 0, 1, 0, 1.78813934e-07, 0, 0.999991894), Vector3.new(44.5500183, 31, 96.5))
  4180. createWall(CFrame.new(306.28949, 20.8821259, -8.19596863, 0.999991894, 0, -1.78813934e-07, 0, 1, 0, 1.78813934e-07, 0, 0.999991894), Vector3.new(19.5500164, 31, 48))
  4181. createWall(CFrame.new(274.800537, 11.3821259, -97.7935333, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(146.5, 12, 225.5))
  4182. createWall(CFrame.new(204.550537, 22.3821259, -144.543533, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(6, 34, 132))
  4183. createWall(CFrame.new(346.550537, 22.3821259, -144.543533, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(3, 34, 132))
  4184. createWall(CFrame.new(253.300537, 22.3821259, -206.043533, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(103.5, 34, 5))
  4185. createWall(CFrame.new(334.550537, 22.3821259, -206.043533, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(19, 34, 5))
  4186. createWall(CFrame.new(339.300537, 22.3821259, -242.043533, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(9.5, 34, 77))
  4187. createWall(CFrame.new(260.300537, 22.3821259, -219.293533, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(54.5, 34, 31.5))
  4188. createWall(CFrame.new(312.050537, 11.3821259, -110.543533, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(72, 12, 251))
  4189. createWall(CFrame.new(314.800537, 22.3821259, -277.293518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(58.5, 34, 9.5))
  4190. createWall(CFrame.new(221.550537, 23.8821259, -421.543518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(14, 42, 8))
  4191. createWall(CFrame.new(221.300537, 23.8821259, -497.293518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(14.5, 42, 32.5))
  4192. createWall(CFrame.new(319.965942, 16.5022373, -230.817398, 0.950360954, 4.37113883e-08, -0.311149508, -2.79408212e-08, 1, 5.51423724e-08, 0.311149508, -4.37113883e-08, 0.950360954), Vector3.new(69, 1.5, 85))
  4193. createWall(CFrame.new(289.800537, 9.63212585, -304.293518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(116.5, 8.5, 138.5))
  4194. createWall(CFrame.new(233.300537, 21.6321259, -252.543518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(3.5, 34.5, 35))
  4195. createWall(CFrame.new(234.925537, 22.1321259, -319.043518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(21.25, 33.5, 100))
  4196. createWall(CFrame.new(313.300537, 22.1321259, -304.043518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(37.5, 33.5, 57))
  4197. createWall(CFrame.new(352.550537, 22.1321259, -322.793518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(55, 33.5, 94.5))
  4198. createWall(CFrame.new(268.550537, 22.1321259, -366.043518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(66, 33.5, 6))
  4199. createWall(CFrame.new(302.300537, 9.63212585, -375.543518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(154.5, 8.5, 281))
  4200. createWall(CFrame.new(377.550537, 25.1321259, -440.043518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(4, 39.5, 147))
  4201. createWall(CFrame.new(302.800537, 25.1321259, -512.293518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(153.5, 39.5, 2.5))
  4202. createWall(CFrame.new(227.050537, 25.1321259, -492.793518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(10, 39.5, 41.5))
  4203. createWall(CFrame.new(227.300537, 25.1321259, -400.043518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(10.5, 39.5, 68))
  4204. createWall(CFrame.new(149.300537, 23.8821259, -501.293518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(158.5, 42, 24.5))
  4205. createWall(CFrame.new(72.3005371, 23.8821259, -414.543518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(4.5, 42, 16))
  4206. createWall(CFrame.new(165.300537, 23.3821259, -412.793518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(123.5, 41, 14.5))
  4207. createWall(CFrame.new(143.550537, 10.1321259, -427.793518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(178, 9.5, 176.5))
  4208. createWall(CFrame.new(170.300537, 23.8821259, -387.293518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(4.5, 42, 60.5))
  4209. createWall(CFrame.new(159.175537, 23.8821259, -335.043518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(25.25, 42, 59))
  4210. createWall(CFrame.new(92.8005371, 23.8821259, -360.793518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(47.5, 42, 7.5))
  4211. createWall(CFrame.new(69.8005371, 23.8821259, -424.543518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(1.5, 42, 135))
  4212. createWall(CFrame.new(84.3005371, 22.6321259, -303.543518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(133.5, 44.5, 6))
  4213. createWall(CFrame.new(67.0505371, 22.6321259, -351.293518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(54, 44.5, 26.5))
  4214. createWall(CFrame.new(89.0505371, 22.6321259, -344.543518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(17, 44.5, 25))
  4215. createWall(CFrame.new(122.300537, 10.8821259, -333.793518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(51.5, 11, 54.5))
  4216. createWall(CFrame.new(64.4733582, -4.418859, -333.793518, 0.906307757, -0.42261827, 0, 0.42261827, 0.906307757, 0, 0, 0, 1), Vector3.new(75.5, 11, 54.5))
  4217. createWall(CFrame.new(20.3005371, -3.61787415, -356.293518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(95.5, 11, 99.5))
  4218. createWall(CFrame.new(39.9685135, 6.63212585, -380.228729, 0.913545489, 0, 0.406736732, 0, 1, 0, -0.406736732, 0, 0.913545489), Vector3.new(14.5, 31.5, 46.5))
  4219. createWall(CFrame.new(18.114563, 6.63212585, -403.113617, 0.0174522102, 0, 0.999847889, 0, 1, 0, -0.999847889, 0, 0.0174522102), Vector3.new(14.5, 31.5, 91))
  4220. createWall(CFrame.new(-26.2788792, 6.63212585, -366.632813, 0.0174522102, 0, 0.999847889, 0, 1, 0, -0.999847889, 0, 0.0174522102), Vector3.new(89, 31.5, 3.5))
  4221. createWall(CFrame.new(-36.5266075, 17.3821259, -309.552948, 0.0174522102, 0, 0.999847889, 0, 1, 0, -0.999847889, 0, 0.0174522102), Vector3.new(26.5, 53, 57))
  4222. createWall(CFrame.new(5.80053711, 4.07662964, -309.267822, 1, 0, 0, 0, -0.656059086, 0.754709542, 0, -0.754709542, -0.656059086), Vector3.new(31.5, 24, 15.5))
  4223. createWall(CFrame.new(19.5505371, 19.3427505, -291.517181, 1, 0, 0, 0, 0.0174524486, 0.99984777, 0, -0.99984777, 0.0174524486), Vector3.new(5, 62, 50.5))
  4224. createWall(CFrame.new(-102.175552, 17.3821259, -272.943085, 0.0174522102, 0, 0.999847889, 0, 1, 0, -0.999847889, 0, 0.0174522102), Vector3.new(102, 53, 90))
  4225. createWall(CFrame.new(4.05209827, 17.3821259, -242.084457, 0.0174522102, 0, 0.999847889, 0, 1, 0, -0.999847889, 0, 0.0174522102), Vector3.new(40, 53, 74.5))
  4226. createWall(CFrame.new(38.5662766, 17.3821259, -170.971268, 0.0174522102, 0, 0.999847889, 0, 1, 0, -0.999847889, 0, 0.0174522102), Vector3.new(181, 53, 3))
  4227. createWall(CFrame.new(-47.4959297, 17.3821259, -82.2097092, 0.0174522102, 0, 0.999847889, 0, 1, 0, -0.999847889, 0, 0.0174522102), Vector3.new(0.499998093, 53, 172))
  4228. createWall(CFrame.new(-130.682892, 17.3821259, -158.17308, 0.0174522102, 0, 0.999847889, 0, 1, 0, -0.999847889, 0, 0.0174522102), Vector3.new(149.5, 53, 3))
  4229. createWall(CFrame.new(-40.7920074, 4.38212585, -194.109756, 0.0174522102, 0, 0.999847889, 0, 1, 0, -0.999847889, 0, 0.0174522102), Vector3.new(224.5, 27, 181.5))
  4230. createWall(CFrame.new(-25.6994476, 18.8821259, 117.706467, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(125.5, 27, 36.5))
  4231. createWall(CFrame.new(-89.1994476, 18.8821259, 154.206467, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(7.5, 27, 61.5))
  4232. createWall(CFrame.new(282.050537, 22.1321259, -316.793518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(28, 33.5, 5.5))
  4233. createWall(CFrame.new(226.777496, 14.4964676, -453.289978, 0.99999994, -8.74227766e-08, -2.84238873e-16, 8.74227695e-08, 1, 8.74227766e-08, -7.35850217e-15, -8.74227766e-08, 1), Vector3.new(8, 1, 45.5))
  4234. createWall(CFrame.new(226.277496, 14.9964676, -453.289978, 0.99999994, -8.74227766e-08, -2.84238873e-16, 8.74227695e-08, 1, 8.74227766e-08, -7.35850217e-15, -8.74227766e-08, 1), Vector3.new(7, 2, 43.5))
  4235. createWall(CFrame.new(225.777496, 15.4964676, -453.289978, 0.99999994, -8.74227766e-08, -2.84238873e-16, 8.74227695e-08, 1, 8.74227766e-08, -7.35850217e-15, -8.74227766e-08, 1), Vector3.new(6, 3, 41.5))
  4236. createWall(CFrame.new(210.777496, 15.9964666, -456.539978, 0.99999994, -8.74227766e-08, -2.84238873e-16, 8.74227695e-08, 1, 8.74227766e-08, -7.35850217e-15, -8.74227766e-08, 1), Vector3.new(31, 4, 77))
  4237. createWall(CFrame.new(210.027496, 14.9964666, -456.539978, 0.99999994, -8.74227766e-08, -2.84238873e-16, 8.74227695e-08, 1, 8.74227766e-08, -7.35850217e-15, -8.74227766e-08, 1), Vector3.new(32.5, 4, 77))
  4238. createWall(CFrame.new(209.527496, 14.4964666, -456.539978, 0.99999994, -8.74227766e-08, -2.84238873e-16, 8.74227695e-08, 1, 8.74227766e-08, -7.35850217e-15, -8.74227766e-08, 1), Vector3.new(33.5, 3, 77))
  4239. createWall(CFrame.new(-3.77072525, 17.3821259, -202.161972, -0.731354296, 0, 0.681998551, 0, 1, 0, -0.681998551, 0, -0.731354296), Vector3.new(29.5, 53, 29.5))
  4240. createWall(CFrame.new(21.5335732, 17.3821259, -189.938141, -0.99026978, 0, 0.13917309, 0, 1, 0, -0.13917309, 0, -0.99026978), Vector3.new(45, 53, 24.5))
  4241. createWall(CFrame.new(-11.1203985, 17.3821259, -219.985062, -0.190809608, 0, 0.981628776, 0, 1, 0, -0.981628776, 0, -0.190809608), Vector3.new(29.5, 53, 29.5))
  4242. createWall(CFrame.new(21.5335732, 17.3821259, -189.938141, -0.99026978, 0, 0.13917309, 0, 1, 0, -0.13917309, 0, -0.99026978), Vector3.new(45, 53, 24.5))
  4243. createWall(CFrame.new(201.004074, 16.6321259, 23.3383617, 0.0174523592, 0, -0.999846816, 0, 1, 0, 0.999846816, 0, 0.0174523592), Vector3.new(2.5, 22.5, 94))
  4244. createWall(CFrame.new(291.03064, 16.8821259, 66.0365601, -0.0174523555, 0, -0.999844193, 0, 1, 0, 0.999844193, 0, -0.0174523555), Vector3.new(12, 23, 12.5))
  4245. createWall(CFrame.new(292.446808, 16.8821259, 13.5534649, -0.0174523555, 0, -0.999844193, 0, 1, 0, 0.999844193, 0, -0.0174523555), Vector3.new(16, 23, 11.5))
  4246. createWall(CFrame.new(241.550537, 22.1321259, -316.793518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(12, 33.5, 5.5))
  4247. createWall(CFrame.new(198.585739, 15.9964609, -495.978149, 0.69465822, -8.74227766e-08, 0.719339728, -2.15772644e-09, 1, 1.23615649e-07, -0.719339669, -8.74227837e-08, 0.694658399), Vector3.new(31, 4, 24.5))
  4248. createWall(CFrame.new(197.891083, 14.9964609, -495.25882, 0.69465822, -8.74227766e-08, 0.719339728, -2.15772644e-09, 1, 1.23615649e-07, -0.719339669, -8.74227837e-08, 0.694658399), Vector3.new(31, 4, 24.5))
  4249. createWall(CFrame.new(196.849091, 13.9964609, -494.17981, 0.69465822, -8.74227766e-08, 0.719339728, -2.15772644e-09, 1, 1.23615649e-07, -0.719339669, -8.74227837e-08, 0.694658399), Vector3.new(31, 4, 24.5))
  4250. createWall(CFrame.new(200.608017, 15.9964695, -413.158813, 0.707106352, -8.74227979e-08, -0.70710659, 1.23634393e-07, 1, 2.44249065e-14, 0.707106471, -8.74227837e-08, 0.707106888), Vector3.new(31, 4, 21))
  4251. createWall(CFrame.new(199.900909, 14.9964695, -413.865906, 0.707106352, -8.74227979e-08, -0.70710659, 1.23634393e-07, 1, 2.44249065e-14, 0.707106471, -8.74227837e-08, 0.707106888), Vector3.new(31, 4, 21))
  4252. createWall(CFrame.new(199.193802, 13.9964695, -414.572998, 0.707106352, -8.74227979e-08, -0.70710659, 1.23634393e-07, 1, 2.44249065e-14, 0.707106471, -8.74227837e-08, 0.707106888), Vector3.new(31, 4, 21))
  4253. createWall(CFrame.new(82.0505371, 23.8821259, -496.543518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(24, 42, 34))
  4254. createWall(CFrame.new(319.015594, 15.5022373, -231.12854, 0.950360954, 4.37113883e-08, -0.311149508, -2.79408212e-08, 1, 5.51423724e-08, 0.311149508, -4.37113883e-08, 0.950360954), Vector3.new(69, 1.5, 85))
  4255. createWall(CFrame.new(318.065247, 14.5022373, -231.439682, 0.950360954, 4.37113883e-08, -0.311149508, -2.79408212e-08, 1, 5.51423724e-08, 0.311149508, -4.37113883e-08, 0.950360954), Vector3.new(69, 1.5, 85))
  4256. createWall(CFrame.new(317.114899, 13.5022373, -231.750824, 0.950360954, 4.37113883e-08, -0.311149508, -2.79408212e-08, 1, 5.51423724e-08, 0.311149508, -4.37113883e-08, 0.950360954), Vector3.new(69, 1.5, 85))
  4257. createWall(CFrame.new(241.800537, 22.1321259, -317.043518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(12.5, 33.5, 6))
  4258. createWall(CFrame.new(122.300537, 9.88212585, -334.293518, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(51.5, 11.5, 55.5))
  4259. wait(.1)
  4260. if _G.destroy_map then
  4261. workspace.Terrain:Clear()
  4262. workspace.Map:Destroy()
  4263. end
  4264. end
  4265.  
  4266. function canalsFix()
  4267. _G.smallTeleports = true
  4268. _G.teleportDuringBossOnly = true
  4269. createWall(CFrame.new(155.957275, 32.8910141, -46.5320663, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(11.7300148, 87.4399948, 105.580002))
  4270. createWall(CFrame.new(-138.143799, 32.8910141, 163.496231, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), Vector3.new(97.5299759, 87.4399948, 22.3999958))
  4271. createWall(CFrame.new(-34.8195114, 32.8910141, -67.9616165, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(83.9499435, 87.4399948, 46.5899925))
  4272. createWall(CFrame.new(-103.979477, 32.8910141, -224.424011, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(6.84993505, 87.4399948, 235.629959))
  4273. createWall(CFrame.new(-186.825027, 62.1460152, 73.4007111, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(84.4299774, 145.949997, 5.42000008))
  4274. createWall(CFrame.new(-241.964264, 32.8910141, -94.9756775, -0.766044438, -6.69697329e-08, -0.642787576, -3.12285025e-08, 1, -6.69697329e-08, 0.642787576, -3.12285025e-08, -0.766044438), Vector3.new(66.1999207, 87.4399948, 5.42000008))
  4275. createWall(CFrame.new(-55.4694901, 32.8910141, -157.089325, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(6.84993505, 87.4399948, 138.609985))
  4276. createWall(CFrame.new(-145.703644, 32.8910141, 28.710371, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(84.4299774, 87.4399948, 5.42000008))
  4277. createWall(CFrame.new(71.0828094, 32.8910141, 50.8468018, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(49.6700058, 87.4399948, 93.9099808))
  4278. createWall(CFrame.new(135.878815, 32.8910141, 15.5871773, 0.719339788, 0, -0.694658399, 0, 1, 0, 0.694658399, 0, 0.719339788), Vector3.new(11.7300148, 87.4399948, 58.2199783))
  4279. createWall(CFrame.new(225.497131, 36.9860115, -59.8648605, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(150.809937, 95.6299896, 52.0899887))
  4280. createWall(CFrame.new(-242.781433, 32.8910141, -16.9685707, -0.121869326, -1.06541549e-08, 0.992546141, -1.74193914e-07, 1, -1.06541549e-08, -0.992546141, -1.74193914e-07, -0.121869326), Vector3.new(80.8499374, 87.4399948, 5.42000008))
  4281. createWall(CFrame.new(-224.062851, 32.8910141, -75.7806473, -0.766044438, -6.69697329e-08, -0.642787576, -3.12285025e-08, 1, -6.69697329e-08, 0.642787576, -3.12285025e-08, -0.766044438), Vector3.new(63.4499245, 87.4399948, 5.92000008))
  4282. createWall(CFrame.new(-145.703644, 62.2310066, 113.641754, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), Vector3.new(84.4299774, 146.11998, 5.42000008))
  4283. createWall(CFrame.new(-294.795288, 32.8910141, -76.0985794, -0.99862951, -8.73029649e-08, -0.0523359589, -8.28474214e-08, 1, -8.73029649e-08, 0.0523359589, -8.28474214e-08, -0.99862951), Vector3.new(63.6999283, 87.4399948, 5.42000008))
  4284. createWall(CFrame.new(-123.277046, 32.8910141, 120.19175, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), Vector3.new(97.5299759, 87.4399948, 15.5299997))
  4285. createWall(CFrame.new(397.023865, 36.9860115, -58.8248749, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(150.809937, 95.6299896, 54.1699905))
  4286. createWall(CFrame.new(416.749054, 36.9860115, -96.7398682, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(111.359848, 95.6299896, 117.999992))
  4287. createWall(CFrame.new(425.636475, 36.9860115, 1.16940498, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(106.859848, 95.6299896, 82.909996))
  4288. createWall(CFrame.new(-121.666016, 32.8910141, 279.982574, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), Vector3.new(97.5299759, 87.4399948, 11.550005))
  4289. createWall(CFrame.new(-98.9495239, 59.7010269, -44.2266006, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(58.7299576, 33.8199959, 24.7199955))
  4290. createWall(CFrame.new(-98.8532333, 32.8910141, 51.1067657, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(50.0699921, 87.4399948, 41.260006))
  4291. createWall(CFrame.new(371.486694, 36.9860115, 44.0894165, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(215.159775, 95.6299896, 16.9300041))
  4292. createWall(CFrame.new(189.412186, 36.9860115, 17.0006351, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(16.339817, 95.6299896, 52.0800133))
  4293. createWall(CFrame.new(196.772171, 36.9860115, -85.2920761, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(93.3599701, 95.6299896, 28.0600014))
  4294. createWall(CFrame.new(155.065796, 36.9860115, 67.287796, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(20.3698311, 95.6299896, 17.1600227))
  4295. createWall(CFrame.new(124.959198, 36.9860115, 134.113754, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(41.2598, 95.6299896, 74.7600098))
  4296. createWall(CFrame.new(-162.458191, 32.8910141, -68.6916199, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(83.9499435, 87.4399948, 45.1299858))
  4297. createWall(CFrame.new(-111.588234, 32.8910141, 50.9817734, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(49.939991, 87.4399948, 15.7900009))
  4298. createWall(CFrame.new(-25.9021072, 32.8910141, 50.9817734, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(49.939991, 87.4399948, 114.280014))
  4299. createWall(CFrame.new(-223.311798, 32.8910141, -168.529022, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(6.84993505, 87.4399948, 116.899963))
  4300. createWall(CFrame.new(-136.288849, 32.8910141, 301.444031, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), Vector3.new(32.1999626, 87.4399948, 18.6900043))
  4301. createWall(CFrame.new(-232.190765, 32.8910141, 48.9222374, -0.224951044, -1.96658441e-08, 0.974370062, -1.72604913e-07, 1, -1.96658441e-08, -0.974370062, -1.72604913e-07, -0.224951044), Vector3.new(54.5299835, 87.4399948, 5.42000008))
  4302. createWall(CFrame.new(-170.796127, 32.8910141, 24.3202763, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(84.4299774, 87.4399948, 5.42000008))
  4303. createWall(CFrame.new(186.772171, 36.9860115, -167.385376, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(113.35997, 95.6299896, 15.4500008))
  4304. createWall(CFrame.new(-132.073868, 32.8910141, 268.779114, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), Vector3.new(97.5299759, 87.4399948, 10.260006))
  4305. createWall(CFrame.new(175.484131, 36.9860115, 53.6146545, -0.707106769, -6.18172393e-08, 0.707106769, -1.49240009e-07, 1, -6.18172393e-08, -0.707106769, -1.49240009e-07, -0.707106769), Vector3.new(16.339817, 95.6299896, 46.5600052))
  4306. createWall(CFrame.new(124.959198, 36.9860115, 71.5675964, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(41.2598, 95.6299896, 17.1600227))
  4307. createWall(CFrame.new(117.913742, 77.9372025, 156.825684, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(167.879807, 17.2299976, 14.8899794))
  4308. createWall(CFrame.new(-207.538849, 32.8910141, 296.944031, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), Vector3.new(41.1999626, 87.4399948, 2.19000244))
  4309. createWall(CFrame.new(-187.778656, 27.8627968, 362.189514, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), Vector3.new(125.759773, 117.039948, 42.3200684))
  4310. createWall(CFrame.new(-47.6979599, 48.4710083, 120.507584, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(68.4998016, 72.6599579, 42.0500107))
  4311. createWall(CFrame.new(-330.275391, 43.1127968, 387.889862, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(245.559784, 86.5399475, 41.8200684))
  4312. createWall(CFrame.new(267.329956, 44.1549873, 47.4600601, 1, 0, -4.37113883e-08, 0, 1, 0, 4.37113883e-08, 0, 1), Vector3.new(83.4698105, 65.7099991, 33.4500122))
  4313. createWall(CFrame.new(-281.293365, 65.0105286, 53.0568275, -0.241921902, -2.11494839e-08, 0.970295727, -1.72248718e-07, 1, -2.11494839e-08, -0.970295727, -1.72248718e-07, -0.241921902), Vector3.new(145.519989, 89.8999939, 14.3299999))
  4314. createWall(CFrame.new(-463.079102, 43.6127968, 295.492493, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), Vector3.new(245.559784, 85.5399475, 41.8200684))
  4315. createWall(CFrame.new(46.2713356, 50.5749092, -60.2988358, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(102.98999, 76.6199799, 150.919952))
  4316. createWall(CFrame.new(-51.3865967, 44.7459869, 279.715424, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(140.999802, 54.1599617, 44.3200684))
  4317. createWall(CFrame.new(-304.962646, 44.8627968, 155.790512, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(245.559784, 83.0399475, 41.8200684))
  4318. createWall(CFrame.new(-33.8865967, 44.7459869, 164.972504, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(101.999802, 54.1599617, 52.3200684))
  4319. createWall(CFrame.new(-303.172791, 48.7665901, -37.5034637, -0.10452842, -9.13816489e-09, 0.994521916, -1.74366647e-07, 1, -9.13816489e-09, -0.994521916, -1.74366647e-07, -0.10452842), Vector3.new(48.9499397, 19.0299969, 20.3599987))
  4320. createWall(CFrame.new(13.9149284, 36.9860115, 136.112579, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(57.2598, 95.6299896, 76.2600098))
  4321. createWall(CFrame.new(-219.415039, 70.8955231, 110.323151, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(83.8099518, 122.169983, 13.8299999))
  4322. createWall(CFrame.new(-165.575058, 61.5059929, 108.555695, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(41.9299812, 144.669952, 23.8700027))
  4323. createWall(CFrame.new(-198.054108, 47.3627968, 299.961273, -0.809017003, -7.07265144e-08, 0.587785244, -1.38808588e-07, 1, -7.07265144e-08, -0.587785244, -1.38808588e-07, -0.809017003), Vector3.new(21.0899963, 78.0399475, 6.30006504))
  4324. createWall(CFrame.new(17.4978638, 32.8910141, 45.4267883, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(38.8299904, 87.4399948, 201.079956))
  4325. createWall(CFrame.new(-304.545441, 64.4899902, 21.4497986, -0.104528427, 1.77635684e-15, 0.994521916, 0, 1, 0, -0.994521916, 1.42108547e-14, -0.104528427), Vector3.new(190.769989, 98.3999939, 10.8299999))
  4326. createWall(CFrame.new(-112.038849, 4.6410141, 169.694031, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), Vector3.new(17.6999512, 30.9399948, 41.1900024))
  4327. createWall(CFrame.new(-249.993698, 65.0105209, 98.5818253, -0.681998253, -2.1149468e-08, 0.731353581, -1.4039864e-07, 1, -1.02005565e-07, -0.731353581, -1.72248718e-07, -0.681998253), Vector3.new(214.269989, 89.8999939, 3.57999992))
  4328. createWall(CFrame.new(-248.899078, 32.8910065, -55.5102959, -0.121869326, -1.06541549e-08, 0.992546141, -1.74193914e-07, 1, -1.06541549e-08, -0.992546141, -1.74193914e-07, -0.121869326), Vector3.new(4.34993744, 87.4399948, 8.17000008))
  4329. createWall(CFrame.new(-273.835968, 17.4611702, 40.0727425, 0, -8.74227695e-08, 1, -8.74227837e-08, 1, 8.74227837e-08, -1, -8.74227837e-08, 0), Vector3.new(230.769989, 4.8999939, 88.3300018))
  4330. createWall(CFrame.new(-251.195892, 7.01116419, 91.0399628, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(47.0499802, 24, 33.1999054))
  4331. createWall(CFrame.new(-249.195892, 6.01116419, 91.5399628, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(47.0499802, 24, 41.1999054))
  4332. createWall(CFrame.new(-247.195892, 5.01116419, 93.2899628, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(47.0499802, 24, 45.6999054))
  4333. createWall(CFrame.new(-245.195892, 4.01116419, 89.2899628, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(47.0499802, 24, 50.6999054))
  4334. createWall(CFrame.new(-243.195892, 3.01116443, 92.0399628, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(47.0499802, 24, 46.1999054))
  4335. createWall(CFrame.new(-241.195892, 2.01116443, 92.2899628, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(47.0499802, 24, 47.6999054))
  4336. createWall(CFrame.new(-239.195892, 1.01116467, 95.2899628, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(47.0499802, 24, 45.6999054))
  4337. createWall(CFrame.new(-181.175049, 11.859992, 89.4149475, -2.80912309e-16, -8.74227624e-08, 1, -8.74227766e-08, 1, 8.74227908e-08, -1, -8.74227766e-08, 7.36183101e-15), Vector3.new(33.769989, 0.899993896, 68.8300018))
  4338. createWall(CFrame.new(-38.9890747, 11.6300173, -100.624664, -1, -8.74227766e-08, 7.70258813e-15, -8.74227766e-08, 1, -8.74227766e-08, -5.98462659e-17, -8.74227766e-08, -1), Vector3.new(388.849945, 2.43999481, 252.609985))
  4339. createWall(CFrame.new(-79.9495239, 44.2010269, -44.2266006, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(20.7299576, 64.8199921, 24.7199955))
  4340. createWall(CFrame.new(-114.449524, 44.2010269, -44.2266006, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(21.7299576, 64.8199921, 24.7199955))
  4341. createWall(CFrame.new(-146.699524, 44.2010269, -23.4766006, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(56.2299576, 64.8199921, 66.2199936))
  4342. createWall(CFrame.new(-47.6995239, 44.2010345, -30.7266006, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(41.22995, 64.8199921, 51.7199936))
  4343. createWall(CFrame.new(121.772171, 36.9860115, -141.885376, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(21.3599701, 95.6299896, 66.4499969))
  4344. createWall(CFrame.new(305.272156, 36.9860115, -162.635376, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(125.35997, 95.6299896, 24.9500008))
  4345. createWall(CFrame.new(207.30394, 36.9860153, 63.8677101, -0.707106769, -6.18172393e-08, 0.707106769, -1.49240009e-07, 1, -6.18172393e-08, -0.707106769, -1.49240009e-07, -0.707106769), Vector3.new(6.83981705, 95.6299896, 61.0600052))
  4346. createWall(CFrame.new(182.976639, 30.7049866, 90.3965759, -0.887010872, -3.55271368e-15, 0.46174866, 0, 1, -7.10542736e-15, -0.46174866, 0, -0.887010872), Vector3.new(5.33981705, 95.6299896, 14.0600052))
  4347. createWall(CFrame.new(178.860107, 32.4249954, 129.819794, -1.00000012, -3.15129545e-15, -2.98023224e-08, 3.15129566e-15, 1, -8.74588793e-15, 2.98023224e-08, 8.74588793e-15, -1.00000012), Vector3.new(4.33981705, 95.6299896, 69.0600052))
  4348. createWall(CFrame.new(160.610107, 32.4249954, 163.569794, -1.00000012, -3.15129545e-15, -2.98023224e-08, 3.15129566e-15, 1, -8.74588793e-15, 2.98023224e-08, 8.74588793e-15, -1.00000012), Vector3.new(40.839817, 95.6299896, 1.56000519))
  4349. createWall(CFrame.new(88.459198, 36.9860115, 166.613754, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(114.259796, 95.6299896, 9.76000977))
  4350. createWall(CFrame.new(311.260925, 24.7869816, -58.2802277, -1, -8.74098589e-08, -1.52582125e-09, -8.74224142e-08, 0.99984777, 0.0174522698, 3.52690052e-14, 0.0174522698, -0.99984777), Vector3.new(23.3499451, 39.9399948, 24.6099854))
  4351. createWall(CFrame.new(17.1134033, 44.7459869, 243.465424, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(3.99980164, 54.1599617, 116.820068))
  4352. createWall(CFrame.new(-166.538849, 32.8910141, 307.694031, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), Vector3.new(19.6999626, 87.4399948, 79.1900024))
  4353. createWall(CFrame.new(-207.538849, 32.8910141, 217.694031, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), Vector3.new(82.6999664, 87.4399948, 2.19000244))
  4354. createWall(CFrame.new(-427.212646, 47.3627853, 175.540512, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(31.0597839, 78.0399475, 81.3200684))
  4355. createWall(CFrame.new(-176.288849, 32.8910141, 211.694031, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), Vector3.new(42.6999664, 87.4399948, 59.6900024))
  4356. createWall(CFrame.new(75.8479004, 0.891014099, -2.7682178, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(391.440002, 23.4399948, 462.780029))
  4357. createWall(CFrame.new(-49.6365967, 18.9959869, 200.222504, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(133.499802, 2.6599617, 121.820068))
  4358. createWall(CFrame.new(-290.788849, 0.641014099, 262.194031, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), Vector3.new(241.699966, 22.9399948, 369.690002))
  4359. createWall(CFrame.new(-109.038849, 1.3910141, 264.194031, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), Vector3.new(237.699951, 24.4399948, 35.1900024))
  4360. createWall(CFrame.new(239.912186, 36.9860115, -22.4993649, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(117.339813, 95.6299896, 48.0800133))
  4361. createWall(CFrame.new(178.260925, 23.3800297, -162.874664, -1, -8.74227766e-08, 7.70258813e-15, -8.74227766e-08, 1, -8.74227766e-08, -5.98462659e-17, -8.74227766e-08, -1), Vector3.new(121.349945, 25.9399948, 128.109985))
  4362. createWall(CFrame.new(307.760925, 23.380043, -136.374664, -1, -8.74227766e-08, 7.70258813e-15, -8.74227766e-08, 1, -8.74227766e-08, -5.98462659e-17, -8.74227766e-08, -1), Vector3.new(137.349945, 25.9399948, 181.109985))
  4363. createWall(CFrame.new(-99.9021072, -12.9436626, 113.714745, -3.53632537e-08, 2.56929074e-08, -1, 0.587785184, 0.809016943, -4.4408921e-16, 0.809016943, -0.587785184, -4.37113918e-08), Vector3.new(79.9400024, 23.4399948, 56.2800293))
  4364. createWall(CFrame.new(42.959198, 36.9860115, 134.363754, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(23.2597961, 95.6299896, 74.2600098))
  4365. createWall(CFrame.new(-121.288857, 0.756968558, 202.870163, -4.20180761e-08, 1.20484973e-08, 1, 0.275637388, 0.961261809, 3.33066907e-15, -0.961261809, 0.275637388, -4.37113918e-08), Vector3.new(59.1999512, 23.9399948, 10.6900024))
  4366. createWall(CFrame.new(310.510925, 23.1539402, -49.8755417, -1, -7.33189793e-08, -4.76138418e-08, -8.7422741e-08, 0.838670671, 0.544638932, -1.30358269e-14, 0.544638932, -0.838670671), Vector3.new(24.8499451, 39.9399948, 16.6099854))
  4367. createWall(CFrame.new(310.510925, 21.0615959, -71.9470215, -1, -7.78942706e-08, 3.96891195e-08, -8.74227766e-08, 0.89100647, -0.453990608, -5.3323414e-17, -0.453990608, -0.89100647), Vector3.new(24.8499451, 39.9399948, 24.6099854))
  4368. createWall(CFrame.new(137.010925, 20.868412, -68.4826736, -1, -8.04731002e-08, -3.41587914e-08, -8.74227695e-08, 0.920504868, 0.390731037, -5.14420645e-17, 0.390731037, -0.920504868), Vector3.new(38.8499451, 4.43999481, 68.1099854))
  4369. createWall(CFrame.new(256.935089, 9.34212494, 30.1253357, -0.920504808, -0.390731215, 3.55271368e-15, -0.390731215, 0.920504808, -8.74227837e-08, 3.41587985e-08, -8.04730931e-08, -1), Vector3.new(66.8499451, 24.4399948, 66.1099854))
  4370. createWall(CFrame.new(337.760925, 22.6300564, 12.8753357, -1, -8.74227766e-08, 7.70258813e-15, -8.74227766e-08, 1, -8.74227766e-08, -5.98462659e-17, -8.74227766e-08, -1), Vector3.new(77.3499451, 24.4399948, 100.609985))
  4371. createWall(CFrame.new(337.010925, 22.1300583, 30.1253357, -1, -8.74227766e-08, 7.70258813e-15, -8.74227766e-08, 1, -8.74227766e-08, -5.98462659e-17, -8.74227766e-08, -1), Vector3.new(78.8499451, 23.4399948, 66.1099854))
  4372. createWall(CFrame.new(329.510925, 21.1300583, 30.1253357, -1, -8.74227766e-08, 7.70258813e-15, -8.74227766e-08, 1, -8.74227766e-08, -5.98462659e-17, -8.74227766e-08, -1), Vector3.new(93.8499451, 24.4399948, 66.1099854))
  4373. createWall(CFrame.new(-110.288849, 1.1410141, 231.444031, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), Vector3.new(51.1999512, 23.9399948, 37.6900024))
  4374. createWall(CFrame.new(-112.038849, 0.891014099, 231.444031, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), Vector3.new(51.1999512, 23.4399948, 41.1900024))
  4375. createWall(CFrame.new(-245.053238, 24.6439991, -76.1922913, 0.131052777, 0.743242264, 0.656061411, -0.984807491, 0.173650265, -3.70293856e-06, -0.113928005, -0.646093667, 0.754707873), Vector3.new(4.34993744, 13.9399948, 22.9200001))
  4376. createWall(CFrame.new(-219.118988, 16.1449757, -98.7366257, -0.342632473, 0.672451258, 0.656058371, -0.891007841, -0.453988045, -5.27128577e-06, 0.297839075, -0.58455497, 0.754710317), Vector3.new(4.34993744, 33.9399948, 22.9200001))
  4377. createWall(CFrame.new(-235.20369, 24.6545467, -84.7544098, -0.118063509, 0.745420098, 0.656065226, -0.987691581, -0.156433806, -3.13296914e-06, 0.102626264, -0.647989988, 0.754713774), Vector3.new(4.59993744, 13.9399948, 22.9200001))
  4378. createWall(CFrame.new(-254.772614, 20.8520355, -67.7679214, 0.335811794, 0.688516259, 0.642787576, -0.898794055, 0.438371211, -1.86264515e-09, -0.281779528, -0.577733696, 0.766044378), Vector3.new(3.09993744, 14.6899948, 22.9200001))
  4379. if _G.destroy_map then
  4380. workspace.Terrain:Clear()
  4381. for i,v in pairs(workspace:GetChildren()) do
  4382. if v.ClassName == "Model" or v.ClassName == "Part" or v.ClassName == "UnionOperation" or v.ClassName == "WedgePart" or v.Name == "MeshPart" then
  4383. if v ~= game.Players.LocalPlayer.Character and v.Name ~= regionPartName and v.Name ~= "secondBossSafeSpots" and v.Name ~= "finalBossObjectSpawns" then
  4384. v:Destroy()
  4385. end
  4386. end
  4387. end
  4388. end
  4389. end
  4390.  
  4391. function steamFix()
  4392. _G.smallTeleports = true
  4393. _G.teleportDuringBossOnly = true
  4394. createWall(CFrame.new(1598.42798, -10.4780731, -429.198364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(2.5, 59, 146.5))
  4395. createWall(CFrame.new(1487.67798, -10.4780731, -502.198364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(224, 59, 0.5))
  4396. createWall(CFrame.new(1488.92798, -10.4780731, -357.448364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(221.5, 59, 7))
  4397. createWall(CFrame.new(1388.92798, -40.2280731, -429.448364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(44.5, 29.5, 151))
  4398. createWall(CFrame.new(1431.1106, -53.0152588, -431.698364, 0.882947683, 0.469471514, 0, -0.469471514, 0.882947683, 0, 0, 0, 1), Vector3.new(62.5, 29.5, 31.5))
  4399. createWall(CFrame.new(1326.0979, -27.7056007, -431.698364, 0.965927362, 0.258819342, 0, -0.258819342, 0.965927362, 0, 0, 0, 1), Vector3.new(155, 29.5, 31.5))
  4400. createWall(CFrame.new(1316.12097, -7.95021439, -416.198364, 0.965927362, 0.258819342, 0, -0.258819342, 0.965927362, 0, 0, 0, 1), Vector3.new(125.5, 62.5, 0.5))
  4401. createWall(CFrame.new(1316.84546, -8.14432907, -447.948364, 0.965927362, 0.258819342, 0, -0.258819342, 0.965927362, 0, 0, 0, 1), Vector3.new(127, 62.5, 3))
  4402. createWall(CFrame.new(1171.92798, -8.22807312, -429.448364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(165.5, 29.5, 151))
  4403. createWall(CFrame.new(1171.92798, 9.52192688, -481.448364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(165.5, 65, 47))
  4404. createWall(CFrame.new(1171.92798, 9.52192688, -397.198364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(165.5, 65, 10.5))
  4405. createWall(CFrame.new(1088.17798, 9.52192688, -408.698364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(5, 65, 33.5))
  4406. createWall(CFrame.new(1088.92798, 9.52192688, -447.698364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(3.5, 65, 22.5))
  4407. createWall(CFrame.new(1059.92798, -3.47807312, -429.698364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(61.5, 39, 58.5))
  4408. createWall(CFrame.new(1034.92798, -7.47807312, -429.698364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(111.5, 31, 94.5))
  4409. createWall(CFrame.new(1019.40039, -7.82135487, -430.448364, 0.866025388, -0.5, 0, 0.5, 0.866025388, 0, 0, 0, 1), Vector3.new(40.5, 31.5, 28))
  4410. createWall(CFrame.new(978.677979, 0.27192688, -429.698364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(2, 14.5, 94.5))
  4411. createWall(CFrame.new(977.927979, 0.0219268799, -429.698364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(2.5, 14, 94.5))
  4412. createWall(CFrame.new(977.427979, -0.22807312, -429.698364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(3.5, 13.5, 94.5))
  4413. createWall(CFrame.new(960.427979, -13.4780731, -437.698364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(37.5, 39, 161.5))
  4414. createWall(CFrame.new(937.427979, -13.4780731, -481.198364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(83.5, 39, 74.5))
  4415. createWall(CFrame.new(937.427979, 8.27192688, -510.698364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(83.5, 82.5, 15.5))
  4416. createWall(CFrame.new(976.177979, 8.27192688, -489.198364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(9, 82.5, 56.5))
  4417. createWall(CFrame.new(975.927979, 8.27192688, -379.448364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(8.5, 82.5, 39))
  4418. createWall(CFrame.new(811.927979, -33.4780731, -435.948364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(334.5, 2, 165))
  4419. createWall(CFrame.new(947.677979, -27.1234665, -424.020416, 1, 0, 0, 0, 0.777145922, -0.629320383, 0, 0.629320383, 0.777145922), Vector3.new(63, 27, 72.5))
  4420. createWall(CFrame.new(680.177979, -8.72807312, -364.198364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(71, 51.5, 32.5))
  4421. createWall(CFrame.new(679.927979, -9.72807312, -493.948364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(70.5, 49.5, 31))
  4422. createWall(CFrame.new(644.177979, -16.4780731, -461.448364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(4, 36, 35))
  4423. createWall(CFrame.new(644.177979, -16.4780731, -395.948364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(4, 36, 38))
  4424. createWall(CFrame.new(597.093445, -20.3076077, -428.198364, 0.965925813, 0.258819044, 0, -0.258819044, 0.965925813, 0, 0, 0, 1), Vector3.new(129, 2, 35.5))
  4425. createWall(CFrame.new(398.177979, -18.7280731, -428.198364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(277, 31.5, 103.5))
  4426. createWall(CFrame.new(496.177979, 1.77192688, -377.948364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(81, 72.5, 3))
  4427. createWall(CFrame.new(496.177979, 1.77192688, -480.698364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(81, 72.5, 3.5))
  4428. createWall(CFrame.new(467.177979, 1.77192688, -459.948364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(5, 72.5, 45))
  4429. createWall(CFrame.new(467.177979, 1.77192688, -399.948364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(5, 72.5, 39))
  4430. createWall(CFrame.new(589.427979, 1.77192688, -397.448364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(111.5, 72.5, 34))
  4431. createWall(CFrame.new(589.427979, 1.77192688, -466.948364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(111.5, 72.5, 46))
  4432. createWall(CFrame.new(351.927979, -3.47807312, -464.948364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(221.5, 62, 30))
  4433. createWall(CFrame.new(260.677979, -18.4780731, -428.198364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(2, 32, 103.5))
  4434. createWall(CFrame.new(249.677979, -17.9780731, -428.198364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(21, 33, 103.5))
  4435. createWall(CFrame.new(249.677979, -7.97807312, -428.198364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(19, 15, 103.5))
  4436. createWall(CFrame.new(249.677979, -7.47807312, -438.698364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(16, 16, 82.5))
  4437. createWall(CFrame.new(234.190384, -24.4961605, -428.198364, 0.848048091, -0.529919267, 0, 0.529919267, 0.848048091, 0, 0, 0, 1), Vector3.new(33, 33, 103.5))
  4438. createWall(CFrame.new(115.927979, -27.2280731, -296.698364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(292.5, 38.5, 396.5))
  4439. createWall(CFrame.new(41.9279785, -22.7280731, -25.4483643, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(56.5, 47.5, 147))
  4440. createWall(CFrame.new(69.1779785, 11.0219269, 10.3016357, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(2, 54, 75.5))
  4441. createWall(CFrame.new(18.4279785, 11.0219269, 10.0516357, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(0.5, 54, 76))
  4442. createWall(CFrame.new(44.1779785, 11.0219269, 43.3016357, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(52, 54, 9.5))
  4443. createWall(CFrame.new(43.1779785, -8.81507015, -108.920464, 1, 0, 0, 0, 0.906307936, 0.4226183, 0, -0.4226183, 0.906307936), Vector3.new(33, 9, 29))
  4444. createWall(CFrame.new(915.927979, -13.4780731, -419.948364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(1.5, 39, 50))
  4445. createWall(CFrame.new(1105.50012, 1.51558495, -430.948364, 0.838670552, 0.544639051, 0, -0.544639051, 0.838670552, 0, 0, 0, 1), Vector3.new(40.5, 8.5, 12))
  4446. createWall(CFrame.new(1258.92798, 9.52192688, -475.698364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(13.5, 65, 58.5))
  4447. createWall(CFrame.new(1259.17798, 9.52192688, -409.448364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(14, 65, 14))
  4448. createWall(CFrame.new(1421.67798, -37.7280731, -416.198364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(31, 34.5, 0.5))
  4449. createWall(CFrame.new(1421.67798, -38.4780731, -447.698364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(31, 33, 0.5))
  4450. createWall(CFrame.new(942.427979, 25.0219269, -440.073364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(1.5, 39, 10.75))
  4451. createWall(CFrame.new(1370.17798, -24.7280731, -383.448364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(7, 60.5, 59))
  4452. createWall(CFrame.new(1371.92798, -24.7280731, -475.948364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(10.5, 60.5, 60))
  4453. createWall(CFrame.new(1059.42798, 3.02192688, -401.698364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(99.5, 52, 47.5))
  4454. createWall(CFrame.new(1059.17798, 3.02192688, -449.948364, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(99, 52, 26))
  4455. wait(.1)
  4456. if _G.destroy_map then
  4457. local t = waitForExist(workspace, "borders")
  4458. for i,v in pairs(t:GetChildren()) do
  4459. cs:AddTag(v, "RayWhitelist")
  4460. end
  4461. workspace.Terrain:Clear()
  4462. for i,v in pairs(workspace:GetChildren()) do
  4463. if v.ClassName == "Model" or v.ClassName == "Part" or v.ClassName == "UnionOperation" or v.ClassName == "WedgePart" or v.Name == "MeshPart" then
  4464. if v ~= game.Players.LocalPlayer.Character and v.Name ~= regionPartName then
  4465. v:Destroy()
  4466. end
  4467. end
  4468. end
  4469. end
  4470. end
  4471.  
  4472. function ghastlyFix()
  4473. _G.smallTeleportVal = 100
  4474. _G.smallTeleports = true
  4475. _G.teleportDuringBossOnly = false
  4476. createWall(CFrame.new(314.997986, 164.955307, 141.573303, 0.969875216, 0, 0.243605107, 0, 1.00000072, 0, -0.243605226, 0, 0.96987462), Vector3.new(47.75, 1.75, 32.25))
  4477. createWall(CFrame.new(330.773529, 164.955322, 178.724518, 0.847127557, 0, 0.531389952, 0, 1.00000024, 0, -0.531390011, 0, 0.847127378), Vector3.new(35.25, 1.75, 66.5))
  4478. createWall(CFrame.new(291.867157, 164.455322, 192.210632, 0.847127557, 0, 0.531389952, 0, 1.00000024, 0, -0.531390011, 0, 0.847127378), Vector3.new(45.5, 0.75, 28.5))
  4479. createWall(CFrame.new(314.526306, 166.267242, 122.420898, 0.999228716, 0.0203912593, 0.0335599519, 8.98155777e-05, 0.853422642, -0.521219611, -0.0392691493, 0.520820618, 0.852762461), Vector3.new(31.25, 5.75, 11))
  4480. createWall(CFrame.new(309.891113, 205.179276, -100.146835, 0.995393157, 1.86264515e-09, 0.0958794728, 0, 1.00000012, -2.98023224e-08, -0.0958794951, 0, 0.995392919), Vector3.new(44, 6, 43.25))
  4481. createWall(CFrame.new(310.046906, 204.929276, -98.5293198, 0.995393157, 1.86264515e-09, 0.0958794728, 0, 1.00000012, -2.98023224e-08, -0.0958794951, 0, 0.995392919), Vector3.new(44, 5.5, 46.5))
  4482. createWall(CFrame.new(312.679291, 209.306335, -100.399132, 0.95375818, 0.156644791, 0.256531715, 2.63154507e-05, 0.853422999, -0.521219373, -0.300576419, 0.497123897, 0.813954473), Vector3.new(60.25, 2, 15))
  4483. createWall(CFrame.new(288.865051, 212.591721, -123.438225, 0.948331475, 9.31322575e-10, 0.317283809, -1.49011612e-08, 1.00000048, -2.98023224e-08, -0.317284107, 0, 0.948330641), Vector3.new(71.25, 2.75, 46.5))
  4484. createWall(CFrame.new(271.416656, 208.042877, -149.974716, 0.963662565, -0.133397385, 0.231429577, -2.28088975e-05, 0.866338432, 0.499457479, -0.267122626, -0.481313825, 0.834854841), Vector3.new(44.25, 2.5, 18.75))
  4485. createWall(CFrame.new(317.858276, 226.091736, -141.969772, 0.902594805, -1.11274026e-07, 0.430492133, -6.26038599e-08, 1.00000179, -1.56817535e-07, -0.430491447, -1.11401803e-07, 0.902596354), Vector3.new(14.5, 26.75, 20.25))
  4486. createWall(CFrame.new(327.610962, 226.091751, -128.030334, 0.713265777, -3.46563553e-07, 0.700896978, -2.28876587e-07, 1.00000536, -4.53092753e-07, -0.700894475, -3.37397211e-07, 0.713270009), Vector3.new(14.5, 26.75, 20.25))
  4487. createWall(CFrame.new(299.221466, 219.653625, -171.897232, 0.999782085, -1.21432961e-07, 0.0208872557, -1.15081804e-07, 1.00000358, -3.05271271e-07, -0.0208872557, -3.02800913e-07, 0.999785483), Vector3.new(22.25, 41.75, 50.249836))
  4488. createWall(CFrame.new(302.612976, 218.403732, -206.136353, 0.914973915, 3.57694532e-08, -0.403517187, -2.30164034e-07, 1.00000715, -6.10544703e-07, 0.403514266, -6.51506639e-07, 0.914980114), Vector3.new(18, 41, 29.249836))
  4489. createWall(CFrame.new(326.326263, 224.250214, -238.250687, 0.697180986, 1.19631932e-06, -0.716895223, -4.60329346e-07, 1, 1.22108031e-06, 0.716895163, -5.21306106e-07, 0.697180986), Vector3.new(15.5, 41, 52.499836))
  4490. createWall(CFrame.new(273.453644, 206.549149, -171.125031, 0.999962032, 0, 0.00871858001, -1.49011612e-08, 1.00000012, -8.94069672e-08, -0.00871856511, -2.98023224e-08, 0.999962091), Vector3.new(43.5, 1.5, 45.25))
  4491. createWall(CFrame.new(276.836884, 203.299271, -199.41629, 0.999660194, -0.0130174877, 0.0225868188, -3.66615131e-06, 0.866337717, 0.499459028, -0.026069466, -0.499289542, 0.866043389), Vector3.new(48.75, 0.75, 14))
  4492. createWall(CFrame.new(278.942017, 199.432602, -215.061096, 0.917066813, 7.4505806e-08, -0.398734063, -2.79396772e-08, 1.00000048, -2.38418579e-07, 0.398733914, -2.38418579e-07, 0.917067349), Vector3.new(39, 2.75, 44.25))
  4493. createWall(CFrame.new(289.955353, 198.776428, -221.000946, 0.771579385, -0.317793787, -0.551065564, 0.000133678317, 0.866355062, -0.499431521, 0.636133432, 0.385276377, 0.668504), Vector3.new(52, 0.749944925, 32.75))
  4494. createWall(CFrame.new(310.594818, 206.462585, -252.894989, 0.675608575, 6.66826963e-07, -0.737262726, -1.34110451e-07, 1.00000179, -1.01327896e-06, 0.737261295, -8.04662704e-07, 0.675610304), Vector3.new(52, 1.24994493, 49))
  4495. createWall(CFrame.new(69.4087906, 144.00502, -171.119354, 0.99996233, -5.89203459e-08, 0.00871866941, -5.46784662e-08, 1.00000095, -4.86772592e-07, -0.0087184906, -4.86277315e-07, 0.999963284), Vector3.new(43.75, 3.75, 49))
  4496. createWall(CFrame.new(52.5376968, 153.755035, -170.597244, 0.99996233, -5.89203459e-08, 0.00871866941, -5.46784662e-08, 1.00000095, -4.86772592e-07, -0.0087184906, -4.86277315e-07, 0.999963284), Vector3.new(10, 23.25, 48.25))
  4497. createWall(CFrame.new(64.1473999, 141.698074, -201.493713, 0.999660909, -0.0130176228, 0.022584945, -2.62307003e-06, 0.86633873, 0.499459445, -0.0260674842, -0.499291092, 0.866045833), Vector3.new(29.5, 1.24981689, 14.25))
  4498. createWall(CFrame.new(62.3234749, 137.645157, -210.031967, 0.837708116, -1.23679638e-06, 0.546123624, -2.17929482e-07, 1.00000381, -1.90734863e-06, -0.546121001, -1.4603138e-06, 0.837710857), Vector3.new(38.25, 3.49981689, 32.5))
  4499. createWall(CFrame.new(-166.044968, 37.7829933, 287.729126, 0.0175017715, -2.39997362e-23, 0.999847293, 2.16954798e-23, 1, -2.43831762e-23, -0.999847054, -2.21189041e-23, 0.0175016522), Vector3.new(119.25, 16.2497978, 131.25))
  4500. createWall(CFrame.new(26.7727909, 131.330139, -229.596436, 0.498491108, -1.49011612e-08, 0.866894901, 0, 1, -2.98023224e-08, -0.86689496, -2.98023224e-08, 0.498491049), Vector3.new(49.75, 3.74981594, 60.25))
  4501. createWall(CFrame.new(52.0516853, 155.705139, -223.206177, 0.828062892, -2.11616907e-07, 0.560636103, 4.75783892e-08, 1, -2.57120234e-07, -0.560636997, -1.33975519e-07, 0.828062534), Vector3.new(38.25, 44.9998169, 3.75))
  4502. createWall(CFrame.new(104.046776, 139.162552, -171.938599, 0.986322045, -0.164742291, 0.00536258006, 0.164738536, 0.986336589, 0.00113770308, -0.00547673693, -0.000238718087, 0.99998498), Vector3.new(32.0000076, 16.1000004, 19.6999855))
  4503. createWall(CFrame.new(181.243668, 158.680099, -172.372742, 0.942704737, -0.333585948, 0.0053159981, 0.333584517, 0.94271946, 0.00117557438, -0.00540364953, 0.00066511496, 0.999985158), Vector3.new(27.6000061, 18.1999969, 19.6999855))
  4504. createWall(CFrame.new(131.853058, 145.830246, -172.094543, 0.976343989, -0.216156989, 0.0053403331, 0.216153711, 0.976358593, 0.00119193445, -0.00547172502, -9.40531027e-06, 0.999985039), Vector3.new(25.4000072, 14.2999983, 19.6999855))
  4505. createWall(CFrame.new(318.447052, 163.461685, 37.7652664, 0.999982238, 0.000530938152, 0.0059381309, 1.35496957e-05, 0.995821595, -0.0913198441, -0.00596180419, 0.0913182944, 0.995803893), Vector3.new(16.2999992, 19.3199978, 41.7999878))
  4506. createWall(CFrame.new(318.052277, 174.400818, -28.883812, 0.999982417, 0.00173310237, 0.00567422993, 2.61646928e-05, 0.955086589, -0.296326905, -0.00593294576, 0.296321839, 0.955069721), Vector3.new(16.2999992, 26.0899982, 41.7999878))
  4507. createWall(CFrame.new(226.274368, 183.300385, -172.641464, 0.870467842, -0.492196739, 0.00530316494, 0.492197692, 0.870482564, 0.00121696084, -0.00521529652, 0.00155088026, 0.999985218), Vector3.new(25.4000072, 11.5999985, 19.6999855))
  4508. createWall(CFrame.new(152.616531, 158.295456, -172.219894, 0.958893836, -0.283715218, 0.005320244, 0.283712894, 0.958908498, 0.00120666309, -0.0054439758, 0.000352359959, 0.999985099), Vector3.new(170.769989, 20.6599998, 19.6999855))
  4509. createWall(CFrame.new(318.252289, 167.785767, 4.91963005, 0.999982595, 0.00117594865, 0.00578253064, -2.67500873e-05, 0.980835259, -0.194838986, -0.00590083003, 0.194835439, 0.980818212), Vector3.new(16.2999992, 21.3699989, 41.7999878))
  4510. createWall(CFrame.new(244.598236, 195.088745, -172.753021, 0.824243903, -0.566209912, 0.00532178301, 0.566212296, 0.824258626, 0.00119986106, -0.00506589841, 0.00202428014, 0.999985099), Vector3.new(25.4000072, 11.2999992, 19.6999855))
  4511. createWall(CFrame.new(203.613464, 171.606827, -172.507065, 0.917157352, -0.398489952, 0.00530689815, 0.398489475, 0.917172134, 0.00119122909, -0.00534203229, 0.00102219847, 0.999985218), Vector3.new(25.4000072, 11.8999987, 19.6999855))
  4512. createWall(CFrame.new(317.851074, 185.098953, -62.7725983, 0.999982536, 0.00234849169, 0.00542167015, -1.89922284e-05, 0.918884039, -0.394527793, -0.00590843149, 0.394520819, 0.918868005), Vector3.new(16.2999992, 29.8699989, 41.7999878))
  4513. createWall(CFrame.new(313.591675, 164.848785, 87.4919815, 0.999982238, 1.23396703e-05, 0.00595618133, 1.23396703e-05, 0.999991417, -0.00414342992, -0.00595618133, 0.00414342992, 0.999973655), Vector3.new(26.6000271, 12.3999996, 63.6499863))
  4514. createWall(CFrame.new(313.780762, 164.967224, 119.242188, 0.999982238, 1.23396703e-05, 0.00595618133, 1.23396703e-05, 0.999991417, -0.00414342992, -0.00595618133, 0.00414342992, 0.999973655), Vector3.new(26.6000271, 12.8999996, 1.64998627))
  4515. createWall(CFrame.new(360.600037, 217.278778, 183.034668, -0.66911006, 0, 0.743163466, 0, 1, 0, -0.743163466, 0, -0.66911006), Vector3.new(77.5999832, 140.259995, 5.57999849))
  4516. createWall(CFrame.new(329.736298, 201.704147, 121.851646, 0.990270376, 0, 0.13915664, 0, 1, 0, -0.13915664, 0, 0.990270376), Vector3.new(8.30997372, 92.3699722, 7.27999878))
  4517. createWall(CFrame.new(336.563782, 201.704147, 98.0409088, 0.961273968, -0, -0.275594592, 0, 1, -0, 0.275594592, 0, 0.961273968), Vector3.new(8.30997372, 92.3699722, 49.2699966))
  4518. createWall(CFrame.new(336.604401, 225.51413, 1.04374969, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(22.5599785, 139.98996, 158.379974))
  4519. createWall(CFrame.new(291.936859, 201.704147, 117.422958, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(22.5599785, 92.3699722, 85.6899643))
  4520. createWall(CFrame.new(325.460632, 217.398804, 205.506134, 0.601813793, -0, -0.798636556, 0, 1, -0, 0.798636556, 0, 0.601813793), Vector3.new(31.1900005, 140.5, 5.57999849))
  4521. createWall(CFrame.new(356.861755, 217.278778, 201.473495, 0.79861635, 0, 0.601840496, 0, 1, 0, -0.601840496, 0, 0.79861635), Vector3.new(52.8799973, 140.259995, 5.57999849))
  4522. createWall(CFrame.new(332.964478, 201.704147, 137.253326, 0.139203906, -0, -0.99026376, 0, 1, -0, 0.99026376, 0, 0.139203906), Vector3.new(37.4799767, 92.3699722, 5.57999849))
  4523. createWall(CFrame.new(299.712402, 225.474121, 0.448717952, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(22.5599785, 139.909927, 154.210022))
  4524. createWall(CFrame.new(268.070129, 201.704147, 200.553894, 0.829036474, 0, 0.559194624, 0, 1, 0, -0.559194624, 0, 0.829036474), Vector3.new(4.10997677, 92.3699722, 43.399971))
  4525. createWall(CFrame.new(-3.77216744, 81.1528473, -397.064117, 0.987685978, 0, 0.156449571, 0, 1, 0, -0.156449571, 0, 0.987685978), Vector3.new(26.0000801, 131.969925, 144.389969))
  4526. createWall(CFrame.new(-417.882141, 71.6578674, -111.429916, 0.956294656, 0, 0.292404652, 0, 1, 0, -0.292404652, 0, 0.956294656), Vector3.new(12.0600824, 112.979919, 155.639954))
  4527. createWall(CFrame.new(89.2471313, 201.152954, -201.564957, 0, 0, -1, 0, 1, 0, 1, 0, 0), Vector3.new(12.8600912, 155.529922, 27.2199631))
  4528. createWall(CFrame.new(-322.662384, 71.6578674, -175.193466, 0.970287263, 0, 0.241955817, 0, 1, 0, -0.241955817, 0, 0.970287263), Vector3.new(52.1000938, 112.979919, 26.0899544))
  4529. createWall(CFrame.new(-125.327179, 150.609619, 448.347321, 0, 1, 0, 1, 0, 0, 0, 0, -1), Vector3.new(110.670059, 16.2098866, 21.2899628))
  4530. createWall(CFrame.new(278.299347, 240.282928, -82.8367004, -0.965929747, 0, -0.258804798, 0, 1, 0, 0.258804798, 0, -0.965929747), Vector3.new(26.6800213, 77.2699661, 29.6099987))
  4531. createWall(CFrame.new(268.070129, 201.704147, 200.553894, 0.829036474, 0, 0.559194624, 0, 1, 0, -0.559194624, 0, 0.829036474), Vector3.new(4.10997677, 92.3699722, 43.399971))
  4532. createWall(CFrame.new(321.441681, 258.039154, -126.414459, -0.406715393, 0, 0.913554907, 0, 1, 0, -0.913554907, 0, -0.406715393), Vector3.new(129.209961, 9.13999081, 34.7499962))
  4533. createWall(CFrame.new(136.824524, 71.6578674, -210.560226, 0.788016856, -0, -0.615653694, 0, 1, -0, 0.615653694, 0, 0.788016856), Vector3.new(23.9600925, 112.979919, 112.829971))
  4534. createWall(CFrame.new(280.31485, 201.704147, 174.340118, 0.829036474, 0, 0.559194624, 0, 1, 0, -0.559194624, 0, 0.829036474), Vector3.new(53.7299843, 92.3699722, 13.6299658))
  4535. createWall(CFrame.new(-42.6308556, 83.3778839, -423.266296, 0.987685978, 0, 0.156449571, 0, 1, 0, -0.156449571, 0, 0.987685978), Vector3.new(55.3900757, 136.419937, 3.29997849))
  4536. createWall(CFrame.new(253.593842, 201.152954, -198.05365, -0.999848366, 0, 0.017436387, 0, 1, 0, -0.017436387, 0, -0.999848366), Vector3.new(7.96000004, 155.529922, 9.87997532))
  4537. createWall(CFrame.new(80.389328, 130.517944, -178.993362, 0.587748766, -0, -0.809043527, 0, 1, -0, 0.809043527, 0, 0.587748766), Vector3.new(84.3001022, 14.2599249, 27.2500114))
  4538. createWall(CFrame.new(-56.7383423, 82.0228577, -388.675171, 0.987685978, 0, 0.156449571, 0, 1, 0, -0.156449571, 0, 0.987685978), Vector3.new(16.700079, 133.709915, 144.389969))
  4539. createWall(CFrame.new(-90.3630447, 71.6578674, -322.139832, 0.999847949, -0, -0.017436387, 0, 1, -0, 0.017436387, 0, 0.999847949), Vector3.new(76.3400879, 112.979919, 10.0999537))
  4540. createWall(CFrame.new(-269.883667, 71.6578674, -211.016266, 0.933587551, 0, 0.358349502, 0, 1, 0, -0.358349502, 0, 0.933587551), Vector3.new(28.4701061, 112.979919, 26.0899544))
  4541. createWall(CFrame.new(66.7276688, 201.152954, -145.322754, -1, 0, 0, 0, 1, 0, 0, 0, -1), Vector3.new(65.3700638, 155.529922, 7.01998234))
  4542. createWall(CFrame.new(147.480667, 71.6578674, -481.844696, 0.981621504, -0, -0.190838262, 0, 1, -0, 0.190838262, 0, 0.981621504), Vector3.new(84.450058, 112.979919, 15.2799673))
  4543. createWall(CFrame.new(171.137604, 201.152954, -190.154861, -1, 0, 0, 0, 1, 0, 0, 0, -1), Vector3.new(161.15007, 155.529922, 20.5299816))
  4544. createWall(CFrame.new(289.106201, 199.204453, -237.240112, -0.681973696, 0, 0.731376648, 0, 1, 0, -0.731376648, 0, -0.681973696), Vector3.new(46.5600014, 1.63998556, 20.0499992))
  4545. createWall(CFrame.new(46.1648331, 170.712921, -244.133514, 0.933587551, -0, -0.358349502, 0, 1, -0, 0.358349502, 0, 0.933587551), Vector3.new(48.9500923, 94.6499176, 9.41996288))
  4546. createWall(CFrame.new(32.8624992, 71.6578674, -504.092804, 0.981621504, -0, -0.190838262, 0, 1, -0, 0.190838262, 0, 0.981621504), Vector3.new(84.450058, 112.979919, 15.2799673))
  4547. createWall(CFrame.new(171.137604, 201.152954, -154.059052, -1, 0, 0, 0, 1, 0, 0, 0, -1), Vector3.new(161.15007, 155.529922, 20.5299816))
  4548. createWall(CFrame.new(56.9643517, 128.217972, -214.544128, 0.587748766, -0, -0.809043527, 0, 1, -0, 0.809043527, 0, 0.587748766), Vector3.new(21.7401257, 9.65992451, 31.1400127))
  4549. createWall(CFrame.new(78.888588, 201.152954, -216.94101, 0.544665456, -0, -0.838653445, 0, 1, -0, 0.838653445, 0, 0.544665456), Vector3.new(23.9600925, 155.529922, 9.41996288))
  4550. createWall(CFrame.new(201.904037, 81.967865, -316.362091, 0.788016856, -0, -0.615653694, 0, 1, -0, 0.615653694, 0, 0.788016856), Vector3.new(51.6700859, 133.59993, 141.20993))
  4551. createWall(CFrame.new(-151.983612, 71.6578674, -307.082306, 0.829036474, 0, 0.559194624, 0, 1, 0, -0.559194624, 0, 0.829036474), Vector3.new(100.530083, 112.979919, 10.0999537))
  4552. createWall(CFrame.new(-211.735306, 71.6578674, -241.287537, 0.469467044, 0, 0.882950008, 0, 1, 0, -0.882950008, 0, 0.469467044), Vector3.new(89.0900803, 112.979919, 10.0999537))
  4553. createWall(CFrame.new(10.404254, 71.6578674, -235.046997, 0.984812498, 0, 0.173621148, 0, 1, 0, -0.173621148, 0, 0.984812498), Vector3.new(39.1400681, 112.979919, 31.4799538))
  4554. createWall(CFrame.new(299.215668, 201.704147, 210.820496, 0.829036474, 0, 0.559194624, 0, 1, 0, -0.559194624, 0, 0.829036474), Vector3.new(53.7299843, 92.3699722, 13.6299658))
  4555. createWall(CFrame.new(302.519348, 248.124329, -170.130829, 0.0175017118, 0, 0.999846935, 0, 1, 0, -0.999846935, 0, 0.0175017118), Vector3.new(53.5899887, 22.2499924, 36.8600044))
  4556. createWall(CFrame.new(-72.5408325, 92.6578674, -226.426178, 0.999847949, 0, 0.017436387, 0, 1, 0, -0.017436387, 0, 0.999847949), Vector3.new(130.620087, 154.979904, 36.8499527))
  4557. createWall(CFrame.new(37.5846519, 71.6578674, -237.363373, 0.999847949, -0, -0.017436387, 0, 1, -0, 0.017436387, 0, 0.999847949), Vector3.new(21.0300751, 112.979919, 29.3599606))
  4558. createWall(CFrame.new(-239.524338, 71.6578674, -200.243027, 0.933587551, 0, 0.358349502, 0, 1, 0, -0.358349502, 0, 0.933587551), Vector3.new(28.4701061, 112.979919, 26.0899544))
  4559. createWall(CFrame.new(-286.944824, 71.6578674, -186.516891, 0.90629667, 0, 0.422642082, 0, 1, 0, -0.422642082, 0, 0.90629667), Vector3.new(28.4701061, 112.979919, 26.0899544))
  4560. createWall(CFrame.new(-390.022064, 71.6578674, -175.793915, 0.956294656, 0, 0.292404652, 0, 1, 0, -0.292404652, 0, 0.956294656), Vector3.new(86.9200897, 112.979919, 26.0899544))
  4561. createWall(CFrame.new(296.471771, 209.142975, -107.708954, -0.951068401, 0, -0.308980465, 0, 1, 0, 0.308980465, 0, -0.951068401), Vector3.new(68.9400024, 8.52998447, 9.06999397))
  4562. createWall(CFrame.new(27.5196838, 170.712921, -245.540726, 0.999847949, 0, 0.017436387, 0, 1, 0, -0.017436387, 0, 0.999847949), Vector3.new(48.9500923, 94.6499176, 9.41996288))
  4563. createWall(CFrame.new(285.192871, 209.142975, -142.421982, -0.951068401, 0, -0.308980465, 0, 1, 0, 0.308980465, 0, -0.951068401), Vector3.new(68.9400024, 8.52998447, 9.06999397))
  4564. createWall(CFrame.new(304.893066, 229.299469, -222.380829, -0.766061664, 0, 0.642767608, 0, 1, 0, -0.642767608, 0, -0.766061664), Vector3.new(6.65000296, 61.8299904, 10.8399925))
  4565. createWall(CFrame.new(39.5098419, 201.152954, -171.609802, 0, 0, -1, 0, 1, 0, 1, 0, 0), Vector3.new(66.7700806, 155.529922, 28.3999786))
  4566. createWall(CFrame.new(102.651863, 81.8628693, -404.385468, 0.981621504, -0, -0.190838262, 0, 1, -0, 0.190838262, 0, 0.981621504), Vector3.new(26.0000801, 133.389938, 184.459961))
  4567. createWall(CFrame.new(334.250702, 259.569092, -104.673012, -0.173624277, 0, 0.984811902, 0, 1, 0, -0.984811902, 0, -0.173624277), Vector3.new(80.2499771, 208.099976, 9.06999397))
  4568. createWall(CFrame.new(257.434692, 240.282928, -114.319412, -0.951068401, 0, -0.308980465, 0, 1, 0, 0.308980465, 0, -0.951068401), Vector3.new(7.70001984, 77.2699661, 45.7699966))
  4569. createWall(CFrame.new(331.207611, 201.152954, -268.791962, -0.74314785, 0, -0.669127226, 0, 1, 0, 0.669127226, 0, -0.74314785), Vector3.new(7.96000004, 155.529922, 50.1699715))
  4570. createWall(CFrame.new(259.305756, 201.152954, -219.461853, -0.906296611, 0, 0.422642082, 0, 1, 0, -0.422642082, 0, -0.906296611), Vector3.new(7.96000004, 155.529922, 52.3299637))
  4571. createWall(CFrame.new(285.489746, 202.64946, -249.168152, -0.681973696, 0, 0.731376648, 0, 1, 0, -0.731376648, 0, -0.681973696), Vector3.new(68.9400024, 8.52998447, 9.06999397))
  4572. createWall(CFrame.new(271.153839, 202.64946, -189.05751, -1, 0, 0, 0, 1, 0, 0, 0, -1), Vector3.new(68.9400024, 8.52998447, 9.06999397))
  4573. createWall(CFrame.new(26.5978699, 178.708435, -202.503372, 0.469467044, 0, 0.882950008, 0, 1, 0, -0.882950008, 0, 0.469467044), Vector3.new(87.330101, 11.7599154, 70.6699524))
  4574. createWall(CFrame.new(146.12854, 82.1978836, -359.938873, 0.788016856, -0, -0.615653694, 0, 1, -0, 0.615653694, 0, 0.788016856), Vector3.new(26.0000801, 134.059937, 141.20993))
  4575. createWall(CFrame.new(296.637207, 201.152954, -266.805756, -0.66911006, 0, 0.743163466, 0, 1, 0, -0.743163466, 0, -0.66911006), Vector3.new(7.96000004, 155.529922, 50.1699715))
  4576. createWall(CFrame.new(99.3139725, 71.6578674, -192.906723, 0.788016856, -0, -0.615653694, 0, 1, -0, 0.615653694, 0, 0.788016856), Vector3.new(61.3401108, 112.979919, 38.8199997))
  4577. createWall(CFrame.new(275.48941, 201.152954, -246.046173, -0.731384635, 0, 0.681965172, 0, 1, 0, -0.681965172, 0, -0.731384635), Vector3.new(7.96000004, 155.529922, 10.8099756))
  4578. createWall(CFrame.new(191.84343, 71.6578674, -519.669495, 0.981621504, 0, -0.190838262, 0, 1, 0, 0.190838262, 0, 0.981621504), Vector3.new(11.7900572, 112.979919, 106.469978))
  4579. createWall(CFrame.new(8.56675243, 176.11792, -233.824677, 0.469467044, 0, 0.882950008, 0, 1, 0, -0.882950008, 0, 0.469467044), Vector3.new(48.9500923, 105.459915, 9.41996288))
  4580. createWall(CFrame.new(4.76045275, 71.6578674, -554.318726, 0.981621504, 0, -0.190838262, 0, 1, 0, 0.190838262, 0, 0.981621504), Vector3.new(11.7900572, 112.979919, 103.099976))
  4581. createWall(CFrame.new(336.604401, 238.509155, -76.2662277, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(22.5599785, 165.97998, 3.75999427))
  4582. createWall(CFrame.new(103.385704, 71.6578674, -584.13147, 0.981621504, 0, -0.190838262, 0, 1, 0, 0.190838262, 0, 0.981621504), Vector3.new(192.360016, 112.979919, 6.27996731))
  4583. createWall(CFrame.new(45.7099876, 82.1828537, -415.45401, 0.981621504, -0, -0.190838262, 0, 1, -0, 0.190838262, 0, 0.981621504), Vector3.new(26.0000801, 134.029907, 184.459961))
  4584. createWall(CFrame.new(192.358246, 82.1778717, -374.678314, 0.788016856, -0, -0.615653694, 0, 1, -0, 0.615653694, 0, 0.788016856), Vector3.new(39.2300949, 134.019928, 6.05993652))
  4585. createWall(CFrame.new(-353.975555, 71.6578674, -63.2335167, 0.956294656, 0, 0.292404652, 0, 1, 0, -0.292404652, 0, 0.956294656), Vector3.new(86.1100769, 112.979919, 26.0899544))
  4586. createWall(CFrame.new(251.776321, 240.282928, -140.439316, -0.951068401, 0, -0.308980465, 0, 1, 0, 0.308980465, 0, -0.951068401), Vector3.new(13.0800266, 77.2699661, 10.5299988))
  4587. createWall(CFrame.new(22.8892059, 108.482849, 344.445435, 0.515037358, -0, -0.857167721, 0, 1, -0, 0.857167721, 0, 0.515037358), Vector3.new(7.17007732, 196.649918, 88.9599533))
  4588. createWall(CFrame.new(-189.411392, 115.27285, 512.67157, -0.74314785, 0, -0.669127226, 0, 1, 0, 0.669127226, 0, -0.74314785), Vector3.new(7.17007732, 210.229919, 107.459976))
  4589. createWall(CFrame.new(3.59355736, 115.27285, 400.595734, 0.79861635, 0, 0.601840496, 0, 1, 0, -0.601840496, 0, 0.79861635), Vector3.new(20.2200737, 210.229919, 83.4799728))
  4590. createWall(CFrame.new(-48.4561577, 115.27285, 524.388855, 0.994518042, -0, -0.104565002, 0, 1, -0, 0.104565002, 0, 0.994518042), Vector3.new(29.3600597, 210.229919, 38.3299599))
  4591. createWall(CFrame.new(-217.117432, 108.482849, 331.702698, 0.788016856, 0, 0.615653694, 0, 1, 0, -0.615653694, 0, 0.788016856), Vector3.new(7.17007732, 196.649918, 65.809967))
  4592. createWall(CFrame.new(-132.738174, 115.27285, 485.842224, -0.656062722, 0, -0.754706323, 0, 1, 0, 0.754706323, 0, -0.656062722), Vector3.new(15.610075, 210.229919, 80.2799683))
  4593. createWall(CFrame.new(-114.245438, 115.27285, 502.964417, -0.656062722, 0, -0.754706323, 0, 1, 0, 0.754706323, 0, -0.656062722), Vector3.new(23.2500763, 210.229919, 18.7399883))
  4594. createWall(CFrame.new(-181.212082, 108.482849, 455.194031, -0.978144407, 0, -0.207926437, 0, 1, 0, 0.207926437, 0, -0.978144407), Vector3.new(7.17007732, 196.649918, 28.6599598))
  4595. createWall(CFrame.new(-171.409775, 108.482849, 480.494568, -0.866007447, 0, -0.500031412, 0, 1, 0, 0.500031412, 0, -0.866007447), Vector3.new(7.17007732, 196.649918, 28.6599598))
  4596. createWall(CFrame.new(-153.358505, 108.482849, 499.273956, -0.529884458, 0, -0.848069847, 0, 1, 0, 0.848069847, 0, -0.529884458), Vector3.new(7.17007732, 196.649918, 28.6599598))
  4597. createWall(CFrame.new(2.28053975, 191.96788, 412.527252, 0.965929627, 0, 0.258804798, 0, 1, 0, -0.258804798, 0, 0.965929627), Vector3.new(46.6800728, 51.1199303, 30.3899784))
  4598. createWall(CFrame.new(-11.8301239, 69.1528625, -32.3248634, -0.190845728, 0, 0.981620014, 0, 1, 0, -0.981620014, 0, -0.190845728), Vector3.new(33.9601364, 117.989929, 43.3399582))
  4599. createWall(CFrame.new(-5.22509098, 115.27285, 490.063293, 0.484826028, -0, -0.874610603, 0, 1, -0, 0.874610603, 0, 0.484826028), Vector3.new(20.2200737, 210.229919, 83.4799728))
  4600. createWall(CFrame.new(-127.205185, 108.482849, 510.990234, -0.275688529, 0, -0.961247265, 0, 1, 0, 0.961247265, 0, -0.275688529), Vector3.new(8.14007759, 196.649918, 33.0399551))
  4601. createWall(CFrame.new(-159.152649, 108.482849, 380.508484, -0.719358206, 0, 0.694639385, 0, 1, 0, -0.694639385, 0, -0.719358206), Vector3.new(7.17007732, 196.649918, 28.6599598))
  4602. createWall(CFrame.new(-308.969879, 71.6578674, -94.8810577, 0.961249948, 0, 0.275678426, 0, 1, 0, -0.275678426, 0, 0.961249948), Vector3.new(27.9000931, 112.979919, 25.8499527))
  4603. createWall(CFrame.new(-196.633072, 71.6578674, 20.2068882, -0.29242146, 0, 0.95628953, 0, 1, 0, -0.95628953, 0, -0.29242146), Vector3.new(3.35009265, 112.979919, 193.439865))
  4604. createWall(CFrame.new(-64.1702118, 108.482849, 196.430222, 0.808997452, 0, 0.587812185, 0, 1, 0, -0.587812185, 0, 0.808997452), Vector3.new(7.17007732, 196.649918, 19.1599712))
  4605. createWall(CFrame.new(21.93013, 115.27285, 434.743622, 0.965929627, 0, 0.258804798, 0, 1, 0, -0.258804798, 0, 0.965929627), Vector3.new(20.2200737, 210.229919, 83.4799728))
  4606. createWall(CFrame.new(-33.0243149, 115.27285, 372.81546, 0.258864343, 0, 0.965913713, 0, 1, 0, -0.965913713, 0, 0.258864343), Vector3.new(20.2200737, 210.229919, 83.4799728))
  4607. createWall(CFrame.new(-153.190704, 115.27285, 421.939972, -0.913549781, 0, 0.406727046, 0, 1, 0, -0.406727046, 0, -0.913549781), Vector3.new(20.2200737, 210.229919, 83.4799728))
  4608. createWall(CFrame.new(-186.537735, 71.6578674, 55.9972839, -0.29242146, 0, 0.95628953, 0, 1, 0, -0.95628953, 0, -0.29242146), Vector3.new(6.85009241, 112.979919, 191.819916))
  4609. createWall(CFrame.new(-102.091415, 108.482849, 351.480042, -0.374604106, 0, 0.92718488, 0, 1, 0, -0.92718488, 0, -0.374604106), Vector3.new(7.17007732, 196.649918, 105.239922))
  4610. createWall(CFrame.new(-150.674164, 108.482849, 227.823898, 0.0175017118, 0, 0.999846935, 0, 1, 0, -0.999846935, 0, 0.0175017118), Vector3.new(1.08007801, 196.649918, 27.1100006))
  4611. createWall(CFrame.new(2.66658545, 112.507874, 74.4540482, 0.0697871447, 0, 0.997561872, 0, 1, 0, -0.997561872, 0, 0.0697871447), Vector3.new(121.150146, 204.699951, 38.2499657))
  4612. createWall(CFrame.new(-95.8713608, 108.482849, 212.595322, -0.642763734, 0, 0.766064942, 0, 1, 0, -0.766064942, 0, -0.642763734), Vector3.new(2.72007704, 196.649918, 74.0400085))
  4613. createWall(CFrame.new(3.05939007, 111.247864, 1.23464596, -0.342042685, 0, 0.939684391, 0, 1, 0, -0.939684391, 0, -0.342042685), Vector3.new(106.420143, 202.179932, 38.2499657))
  4614. createWall(CFrame.new(-296.766571, 71.6578674, -104.887527, 0.951068401, 0, 0.308980465, 0, 1, 0, -0.308980465, 0, 0.951068401), Vector3.new(21.460104, 112.979919, 5.02994967))
  4615. createWall(CFrame.new(-136.902573, 115.27285, 400.373932, -0.587748766, 0, 0.809043527, 0, 1, 0, -0.809043527, 0, -0.587748766), Vector3.new(20.2200737, 210.229919, 83.4799728))
  4616. createWall(CFrame.new(-126.523605, 71.6578674, -35.9618187, -0.515037298, 0, 0.857167721, 0, 1, 0, -0.857167721, 0, -0.515037298), Vector3.new(69.3901215, 112.979919, 10.0999537))
  4617. createWall(CFrame.new(-107.43457, 108.482849, 200.957001, -0.642763734, 0, 0.766064942, 0, 1, 0, -0.766064942, 0, -0.642763734), Vector3.new(2.72007704, 196.649918, 81.4400024))
  4618. createWall(CFrame.new(-156.125748, 115.27285, 447.67746, -0.961273909, 0, -0.275594592, 0, 1, 0, 0.275594592, 0, -0.961273909), Vector3.new(20.2200737, 210.229919, 83.4799728))
  4619. createWall(CFrame.new(-84.8648453, 108.482849, 167.946167, 0.808997452, 0, 0.587812185, 0, 1, 0, -0.587812185, 0, 0.808997452), Vector3.new(7.17007732, 196.649918, 22.8599682))
  4620. createWall(CFrame.new(-28.1472721, 112.442856, -60.752491, -0.573599219, 0, 0.81913656, 0, 1, 0, -0.81913656, 0, -0.573599219), Vector3.new(63.9601364, 204.569916, 38.2499657))
  4621. createWall(CFrame.new(-75.1926804, 108.482849, 332.591461, -0.74314785, 0, 0.669127226, 0, 1, 0, -0.669127226, 0, -0.74314785), Vector3.new(8.96007824, 196.649918, 53.559948))
  4622. createWall(CFrame.new(-275.843719, 71.6578674, 63.9708595, -0.29242146, 0, 0.95628953, 0, 1, 0, -0.95628953, 0, -0.29242146), Vector3.new(43.8200836, 112.979919, 32.2699165))
  4623. createWall(CFrame.new(-90.2726288, 108.482849, 117.84272, 0.999391913, -0, -0.0348687991, 0, 1, -0, 0.0348687991, 0, 0.999391913), Vector3.new(7.17007732, 196.649918, 88.6899643))
  4624. createWall(CFrame.new(-188.159439, 108.482849, 236.08194, -0.342042685, 0, 0.939684391, 0, 1, 0, -0.939684391, 0, -0.342042685), Vector3.new(7.17007732, 196.649918, 65.809967))
  4625. createWall(CFrame.new(8.69923592, 108.482849, 164.62558, 0.0175017118, 0, 0.999846935, 0, 1, 0, -0.999846935, 0, 0.0175017118), Vector3.new(105.130081, 196.649918, 21.1499653))
  4626. createWall(CFrame.new(-217.38678, 71.6578674, -120.78791, 0.981621504, 0, 0.190838262, 0, 1, 0, -0.190838262, 0, 0.981621504), Vector3.new(28.2900963, 112.979919, 25.8499527))
  4627. createWall(CFrame.new(-177.051682, 71.6578674, -95.5953293, -0.731384635, 0, 0.681965172, 0, 1, 0, -0.681965172, 0, -0.731384635), Vector3.new(92.0400925, 112.979919, 10.0999537))
  4628. createWall(CFrame.new(-91.2905579, 98.7878723, -180.786469, -0.642763734, 0, 0.766064942, 0, 1, 0, -0.766064942, 0, -0.642763734), Vector3.new(100.200134, 167.239929, 34.0199585))
  4629. createWall(CFrame.new(-60.8750038, 104.102882, -118.505707, -0.970287442, 0, 0.241955817, 0, 1, 0, -0.241955817, 0, -0.970287442), Vector3.new(14.3101358, 177.869934, 52.2899513))
  4630. createWall(CFrame.new(-81.9202881, 115.27285, 376.216888, -0.190845728, 0, 0.981620014, 0, 1, 0, -0.981620014, 0, -0.190845728), Vector3.new(20.2200737, 210.229919, 83.4799728))
  4631. createWall(CFrame.new(14.3495579, 115.27285, 466.507202, 0.866007268, -0, -0.500031412, 0, 1, -0, 0.500031412, 0, 0.866007268), Vector3.new(20.2200737, 210.229919, 83.4799728))
  4632. createWall(CFrame.new(16.8177929, 177.457901, 466.780548, 0.965929627, 0, 0.258804798, 0, 1, 0, -0.258804798, 0, 0.965929627), Vector3.new(46.6800728, 22.099926, 30.3899784))
  4633. createWall(CFrame.new(-236.081604, 71.6578674, -107.771599, 0.951068401, 0, 0.308980465, 0, 1, 0, -0.308980465, 0, 0.951068401), Vector3.new(21.460104, 112.979919, 5.02994967))
  4634. createWall(CFrame.new(-51.8448524, 113.727875, -79.1300812, -0.906296611, 0, 0.422642082, 0, 1, 0, -0.422642082, 0, -0.906296611), Vector3.new(63.9601364, 207.139954, 38.2499657))
  4635. createWall(CFrame.new(11.4648485, 108.482849, 293.321198, -0.642763734, 0, -0.766064942, 0, 1, 0, 0.766064942, 0, -0.642763734), Vector3.new(7.17007732, 196.649918, 119.499962))
  4636. createWall(CFrame.new(-37.7696838, 115.27285, 507.855652, 0.241953552, -0, -0.970287859, 0, 1, -0, 0.970287859, 0, 0.241953552), Vector3.new(26.7200642, 210.229919, 20.9799595))
  4637. createWall(CFrame.new(-182.646271, 108.482849, 427.893585, -0.992540598, 0, 0.121917672, 0, 1, 0, -0.121917672, 0, -0.992540598), Vector3.new(7.17007732, 196.649918, 28.6599598))
  4638. createWall(CFrame.new(-212.57103, 108.482849, 383.047607, -0.890994906, 0, 0.454013437, 0, 1, 0, -0.454013437, 0, -0.890994906), Vector3.new(7.17007732, 196.649918, 65.809967))
  4639. createWall(CFrame.new(-219.156174, 115.27285, 442.736725, -0.997561932, 0, -0.0697919354, 0, 1, 0, 0.0697919354, 0, -0.997561932), Vector3.new(7.17007732, 210.229919, 84.3099747))
  4640. createWall(CFrame.new(-47.2210999, 115.27285, 512.638611, 0.5592103, -0, -0.829025805, 0, 1, -0, 0.829025805, 0, 0.5592103), Vector3.new(29.3600597, 210.229919, 13.2199593))
  4641. createWall(CFrame.new(-175.036667, 108.482849, 402.054779, -0.890994906, 0, 0.454013437, 0, 1, 0, -0.454013437, 0, -0.890994906), Vector3.new(7.17007732, 196.649918, 28.6599598))
  4642. createWall(CFrame.new(-34.2681313, 108.482849, 220.731842, 0.601813793, 0, 0.798636556, 0, 1, 0, -0.798636556, 0, 0.601813793), Vector3.new(7.17007732, 196.649918, 65.809967))
  4643. createWall(CFrame.new(-267.718323, 71.6578674, -106.124031, 0.933587551, 0, 0.358349502, 0, 1, 0, -0.358349502, 0, 0.933587551), Vector3.new(47.0600929, 112.979919, 25.8499527))
  4644. createWall(CFrame.new(-79.1659088, 108.482849, 247.456345, 0.224959731, 0, 0.974368095, 0, 1, 0, -0.974368095, 0, 0.224959731), Vector3.new(2.72007704, 196.649918, 93.0200272))
  4645. createWall(CFrame.new(-24.5546627, 153.542862, 346.573395, 0.309060872, 0, 0.951042235, 0, 1, 0, -0.951042235, 0, 0.309060872), Vector3.new(48.760067, 106.5299, 82.7499619))
  4646. createWall(CFrame.new(-130.157043, 115.27285, 543.391418, -0.241953492, 0, -0.970287859, 0, 1, 0, 0.970287859, 0, -0.241953492), Vector3.new(7.17007732, 210.229919, 107.459976))
  4647. createWall(CFrame.new(-62.0073128, 115.27285, 535.006409, 0.587748766, -0, -0.809043527, 0, 1, -0, 0.809043527, 0, 0.587748766), Vector3.new(13.5600739, 210.229919, 78.2199707))
  4648. createWall(CFrame.new(1.19643378, 108.482849, 210.773438, 0.601813793, 0, 0.798636556, 0, 1, 0, -0.798636556, 0, 0.601813793), Vector3.new(55.8600845, 196.649918, 21.1499653))
  4649. createWall(CFrame.new(-226.246323, 108.482849, 280.09845, 0.981621504, -0, -0.190838262, 0, 1, -0, 0.190838262, 0, 0.981621504), Vector3.new(7.17007732, 196.649918, 65.809967))
  4650. createWall(CFrame.new(-93.2036362, 108.482849, 50.1853981, 0.984812498, 0, 0.173621148, 0, 1, 0, -0.173621148, 0, 0.984812498), Vector3.new(7.17007732, 196.649918, 49.9200096))
  4651. createWall(CFrame.new(-99.4887619, 26.6458683, 204.488251, -0.642771602, -0.172286958, 0.74643296, 3.49506736e-05, 0.974375129, 0.224929258, -0.766058028, 0.144604191, -0.626294613), Vector3.new(17.6900787, 52.3899765, 81.5899811))
  4652. createWall(CFrame.new(-90.5216141, 92.6578674, -212.284851, 0.999847949, 0, 0.017436387, 0, 1, 0, -0.017436387, 0, 0.999847949), Vector3.new(20.6700878, 154.979904, 64.4999695))
  4653. createWall(CFrame.new(-69.007225, 150.609619, 414.444153, 0, 1, 0, 1, 0, 0, 0, 0, -1), Vector3.new(110.670059, 54.7698822, 46.6099701))
  4654. createWall(CFrame.new(-17.0605316, 150.609619, 455.940033, 0, 1, 0, 1, 0, 0, 0, 0, -1), Vector3.new(110.670059, 16.2098866, 21.2899628))
  4655. createWall(CFrame.new(44.4533386, 150.080139, -209.457306, 0.828062892, -2.11616907e-07, 0.560636103, 4.75783892e-08, 1, -2.57120234e-07, -0.560636997, -1.33975519e-07, 0.828062534), Vector3.new(10.25, 33.7498169, 18))
  4656. createWall(CFrame.new(90.6520691, 55.3309364, -253.047241, 0.615655065, -8.31751947e-07, 0.788017154, -1.05084027e-07, 1, -9.73401143e-07, -0.78802079, -5.16469811e-07, 0.615655005), Vector3.new(112, 5.24979782, 111))
  4657. createWall(CFrame.new(72.5854263, 90.4559326, -213.070435, 0.615655065, -8.31751947e-07, 0.788017154, -1.05084027e-07, 1, -9.73401143e-07, -0.78802079, -5.16469811e-07, 0.615655005), Vector3.new(26.75, 75.4998016, 90.25))
  4658. createWall(CFrame.new(129.757416, 61.8308907, -222.495361, 0.615655065, -8.31751947e-07, 0.788017154, -1.05084027e-07, 1, -9.73401143e-07, -0.78802079, -5.16469811e-07, 0.615655005), Vector3.new(112, 18.2497978, 11.75))
  4659. createWall(CFrame.new(151.133179, 61.8308983, -266.707794, 0.615655065, -8.31751947e-07, 0.788017154, -1.05084027e-07, 1, -9.73401143e-07, -0.78802079, -5.16469811e-07, 0.615655005), Vector3.new(16, 18.2497978, 32.5))
  4660. createWall(CFrame.new(102.768631, 61.8309555, -304.493622, 0.615655065, -8.31751947e-07, 0.788017154, -1.05084027e-07, 1, -9.73401143e-07, -0.78802079, -5.16469811e-07, 0.615655005), Vector3.new(16, 18.2497978, 26.75))
  4661. createWall(CFrame.new(85.0030518, 61.5809021, -314.366455, 0.190837413, -1.95113194e-06, 0.981623232, -2.10167372e-07, 1, -1.9468032e-06, -0.981629729, -1.65219262e-07, 0.190840572), Vector3.new(16.25, 19.2497978, 25.5))
  4662. createWall(CFrame.new(27.7007961, 61.5810165, -325.506775, 0.190837413, -1.95113194e-06, 0.981623232, -2.10167372e-07, 1, -1.9468032e-06, -0.981629729, -1.65219262e-07, 0.190840572), Vector3.new(16.25, 19.2497978, 26.75))
  4663. createWall(CFrame.new(7.84294891, 61.5429382, -322.138489, -0.156453863, -3.91142521e-06, 0.987685323, -4.20325563e-07, 1, 3.8936123e-06, -0.987685263, 1.94021311e-07, -0.156453878), Vector3.new(7.75, 19.2497978, 25.5))
  4664. createWall(CFrame.new(-43.5881577, 67.4179993, -313.486664, -0.156449482, -3.69780161e-12, 0.987686753, 5.42860245e-13, 1, -3.65791512e-12, -0.9876858, 3.61038239e-14, -0.15644975), Vector3.new(8.25, 19.9997978, 14.25))
  4665. createWall(CFrame.new(-87.1848373, 67.0428085, -313.408112, 0.0174364448, -7.29579678e-12, 0.999851346, 1.08572136e-12, 1, -7.31584064e-12, -0.999849319, -1.21311815e-12, 0.017436415), Vector3.new(7.25, 20.7497978, 75.5))
  4666. createWall(CFrame.new(-156.584213, 67.3979263, -293.36441, -0.559194386, -6.6722218e-12, 0.829037786, 1.08572027e-12, 1, -7.31583284e-12, -0.829036236, 3.19087291e-12, -0.559195638), Vector3.new(7.5, 19.9997978, 71))
  4667. createWall(CFrame.new(-203.402084, 67.4178085, -238.748154, -0.882949471, -8.786364e-12, 0.469468504, 2.17144011e-12, 1, -1.46316795e-11, -0.469466925, 1.18996219e-11, -0.882953048), Vector3.new(7, 19.9997978, 79.75))
  4668. createWall(CFrame.new(-221.330124, 67.1680069, -201.287247, -0.358348906, -2.88762209e-11, 0.93359375, 4.34287719e-12, 1, -2.92634077e-11, -0.933586717, 6.43207146e-12, -0.358352125), Vector3.new(15, 19.9997978, 6.25))
  4669. createWall(CFrame.new(-198.021118, 65.8308716, -124.031624, -0.309060812, -1.50344096e-17, 0.951042354, -1.75127433e-18, 1, -1.63774614e-17, -0.951042652, 6.72716669e-18, -0.309060782), Vector3.new(28, 27.7497978, 11.5))
  4670. createWall(CFrame.new(-166.487717, 67.7930069, -97.6062241, -0.731385112, -1.97760074e-17, 0.681965232, -3.50254989e-18, 1, -3.27549229e-17, -0.681965768, 2.63450672e-17, -0.731384754), Vector3.new(82.75, 27.7497978, 7.25))
  4671. createWall(CFrame.new(-119.565308, 67.7930069, -39.0402756, -0.515038013, -5.25450404e-17, 0.85716784, -7.00510723e-18, 1, -6.55098524e-17, -0.857169032, 3.97445693e-17, -0.515037596), Vector3.new(72, 27.7497978, 9.5))
  4672. createWall(CFrame.new(-87.4858704, 62.2829895, 49.0097618, -0.173621446, -1.26597385e-16, 0.984812856, -1.40102294e-17, 1, -1.31019718e-16, -0.984815359, 3.65452431e-17, -0.173621505), Vector3.new(51.25, 27.7497978, 10))
  4673. createWall(CFrame.new(-83.2823715, 63.5329895, 120.683098, 0.0348694921, -2.62857167e-16, 0.999392748, -2.80205249e-17, 1, -2.62039489e-16, -0.999397576, 1.88664826e-17, 0.0348683298), Vector3.new(96, 25.2497978, 7))
  4674. createWall(CFrame.new(-78.467865, 63.5329933, 166.610886, -0.587812185, -1.65436123e-23, 0.808997571, 6.6174449e-24, 1, -1.4889251e-23, -0.808997512, -6.6174449e-24, -0.587812304), Vector3.new(18.5, 25.2497978, 4.75))
  4675. createWall(CFrame.new(-60.2567482, 64.4079895, 191.676926, -0.587812245, -3.24787982e-23, 0.80899781, 2.16954798e-23, 1, -2.43831762e-23, -0.808997631, -3.21885739e-24, -0.587812483), Vector3.new(16.25, 24.4997978, 4.75))
  4676. createWall(CFrame.new(-37.4936447, 64.6579895, 210.83847, -0.798636854, -6.40018756e-23, 0.60181427, 4.33909659e-23, 1, -4.87663651e-23, -0.601814091, 1.28333249e-23, -0.79863739), Vector3.new(43.75, 23.9997978, 4.75))
  4677. createWall(CFrame.new(-313.654449, 46.2073135, -131.273331, -0.275637358, 0, 0.96126169, 0, 1, 0, -0.96126169, 0, -0.275637358), Vector3.new(110, 14.7497978, 208))
  4678. createWall(CFrame.new(-165.12883, 54.2137146, 31.6172218, -0.294678897, 0, 0.955596387, 0, 1, 0, -0.955596209, 0, -0.294678926), Vector3.new(40.5, 2.24979782, 249.25))
  4679. createWall(CFrame.new(-73.2428131, 56.4560051, -257.687622, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(290.25, 2.99979782, 126))
  4680. createWall(CFrame.new(-112.780289, 56.830883, -107.574318, 0.857371926, 0, 0.514697373, 0, 1, 0, -0.514697313, 0, 0.857372046), Vector3.new(93, 2.24979782, 263.25))
  4681. createWall(CFrame.new(-187.362808, 55.7058716, -134.105606, 0.95104146, 0, 0.309061378, 0, 1, 0, -0.309060663, 0, 0.951044798), Vector3.new(31.5, 4.49979782, 93.75))
  4682. createWall(CFrame.new(-34.3526993, 56.1579857, 102.725609, 0.984812677, 1.29029866e-16, 0.173621446, -1.31019705e-16, 1.00000048, -3.97046694e-23, -0.173621535, -2.27477779e-17, 0.984813035), Vector3.new(110, 3.49979782, 231))
  4683. createWall(CFrame.new(-69.5363007, 58.0819054, 176.25325, 0.788472474, 0.182033852, 0.587515831, -0.224951565, 0.974369884, -3.37541366e-07, -0.57245779, -0.132162333, 0.809212744), Vector3.new(16, 3.24977589, 25.75))
  4684. createWall(CFrame.new(-97.6610107, 59.0887032, 8.19114017, 0.955596149, 6.10016286e-08, 0.294679552, 8.05594027e-08, 0.999999285, -1.49011612e-08, -0.294679046, -4.09781933e-08, 0.95559752), Vector3.new(16.5, 1.99977589, 36))
  4685. createWall(CFrame.new(-97.7346802, 58.7137032, 7.95224094, 0.955596149, 6.10016286e-08, 0.294679552, 8.05594027e-08, 0.999999285, -1.49011612e-08, -0.294679046, -4.09781933e-08, 0.95559752), Vector3.new(20, 1.24977589, 40.5))
  4686. createWall(CFrame.new(-97.6341782, 58.2137032, 7.00558901, 0.955596149, 6.10016286e-08, 0.294679552, 8.05594027e-08, 0.999999285, -1.49011612e-08, -0.294679046, -4.09781933e-08, 0.95559752), Vector3.new(24.25, 1.24977589, 43.75))
  4687. createWall(CFrame.new(-113.563217, 56.2356071, 13.2257681, 0.89212507, -0.342453569, 0.294681668, 0.358367622, 0.933576107, -1.11758709e-07, -0.275106102, 0.10560298, 0.955603957), Vector3.new(11, 1.24977589, 43.75))
  4688. createWall(CFrame.new(-223.621185, 51.8409386, -176.644882, 0.842409015, -0.48570472, 0.233319089, 0.499448329, 0.866343617, 0.000202953815, -0.202233106, 0.116359845, 0.972400308), Vector3.new(20.75, 6.74979782, 89))
  4689. createWall(CFrame.new(-212.42215, 57.5808716, -169.559814, 0.951042056, 3.16649675e-08, 0.309060723, 1.11758709e-08, 0.99999994, -7.4505806e-09, -0.309060752, -1.49011612e-08, 0.951042473), Vector3.new(7.75, 4.24979782, 117))
  4690. createWall(CFrame.new(-224.997284, 52.5610962, -177.975052, 0.811471164, -0.467886627, 0.350137621, 0.499437302, 0.866349936, 0.000212810439, -0.303441286, 0.174699053, 0.936698556), Vector3.new(17.75, 6.74979782, 32))
  4691. createWall(CFrame.new(-210.638947, 57.2058716, -170.139297, 0.951042056, 3.16649675e-08, 0.309060723, 1.11758709e-08, 0.99999994, -7.4505806e-09, -0.309060752, -1.49011612e-08, 0.951042473), Vector3.new(7, 3.49979782, 117))
  4692. createWall(CFrame.new(86.809967, 54.2058792, -434.137939, 0.188369185, 1.58486137e-12, 0.982098579, 4.9803499e-13, 1, 1.51822587e-12, -0.98209846, -2.03132501e-13, 0.188369095), Vector3.new(301, 3.49979782, 287.25))
  4693. createWall(CFrame.new(52.8619156, 58.8309174, -320.487793, 0.190833777, -3.74184447e-06, 0.981622398, -4.20325563e-07, 1, 3.8936123e-06, -0.981622398, -1.15563375e-06, 0.190833792), Vector3.new(17, 1.74979782, 44))
  4694. createWall(CFrame.new(54.4297676, 58.455925, -320.692352, 0.190833777, -3.74184447e-06, 0.981622398, -4.20325563e-07, 1, 3.8936123e-06, -0.981622398, -1.15563375e-06, 0.190833792), Vector3.new(22, 0.999797821, 47))
  4695. createWall(CFrame.new(54.7160225, 57.205925, -322.164795, 0.190833777, -3.74184447e-06, 0.981622398, -4.20325563e-07, 1, 3.8936123e-06, -0.981622398, -1.15563375e-06, 0.190833792), Vector3.new(25, 1.49979782, 47))
  4696. createWall(CFrame.new(55.0022812, 55.580925, -323.637238, 0.190833777, -3.74184447e-06, 0.981622398, -4.20325563e-07, 1, 3.8936123e-06, -0.981622398, -1.15563375e-06, 0.190833792), Vector3.new(28, 2.24979782, 47))
  4697. createWall(CFrame.new(127.154045, 57.9558754, -280.683319, 0.615653574, 2.27373675e-13, 0.788017035, 1.13686838e-13, 1, 7.10542736e-14, -0.788017035, -2.27373675e-13, 0.615653574), Vector3.new(9, 3.99979782, 44))
  4698. createWall(CFrame.new(129.044098, 56.8308754, -282.696472, 0.615653574, 2.27373675e-13, 0.788017035, 1.13686838e-13, 1, 7.10542736e-14, -0.788017035, -2.27373675e-13, 0.615653574), Vector3.new(20, 4.24979782, 50.5))
  4699. createWall(CFrame.new(130.540146, 55.4558754, -285.017426, 0.615653574, 2.27373675e-13, 0.788017035, 1.13686838e-13, 1, 7.10542736e-14, -0.788017035, -2.27373675e-13, 0.615653574), Vector3.new(20, 4.49979782, 44))
  4700. createWall(CFrame.new(132.079285, 54.8308754, -286.987457, 0.615653574, 2.27373675e-13, 0.788017035, 1.13686838e-13, 1, 7.10542736e-14, -0.788017035, -2.27373675e-13, 0.615653574), Vector3.new(25, 3.24979782, 44))
  4701. createWall(CFrame.new(-20.4398537, 57.3308754, -317.710022, 0.984812856, 4.45411665e-13, 0.17362076, 4.3284457e-13, 1, 1.10245187e-13, -0.17362076, 3.34200441e-14, 0.984812677), Vector3.new(35.5, 4.74979782, 7.25))
  4702. createWall(CFrame.new(-20.6999245, 56.9558754, -321.345093, 0.984812856, 4.45411665e-13, 0.17362076, 4.3284457e-13, 1, 1.10245187e-13, -0.17362076, 3.34200441e-14, 0.984812677), Vector3.new(53.75, 3.99979782, 20.5))
  4703. createWall(CFrame.new(-21.2862549, 55.5808754, -322.510986, 0.984812856, 4.45411665e-13, 0.17362076, 4.3284457e-13, 1, 1.10245187e-13, -0.17362076, 3.34200441e-14, 0.984812677), Vector3.new(35.5, 4.74979782, 23))
  4704. createWall(CFrame.new(-21.6769009, 55.0808754, -324.726807, 0.984812856, 4.45411665e-13, 0.17362076, 4.3284457e-13, 1, 1.10245187e-13, -0.17362076, 3.34200441e-14, 0.984812677), Vector3.new(35.5, 3.74979782, 27.5))
  4705. spawn(function()
  4706. while not workspace:FindFirstChild("playerPickupCannonballRing") do
  4707. wait()
  4708. end
  4709. workspace.playerPickupCannonballRing.Changed:Connect(function(prop)
  4710. if prop == "Transparency" then
  4711. objectiveExists = not objectiveExists
  4712. objectiveObject = workspace.playerPickupCannonballRing
  4713. end
  4714. end)
  4715. end)
  4716. if _G.destroy_map then
  4717. workspace.borders:Destroy()
  4718. workspace.borderFix:Destroy()
  4719. for i,v in pairs(workspace:GetChildren()) do
  4720. if v.ClassName == "Model" and v.Name ~= "corruptCannons" and v.Name ~= "playerFireCannon" then
  4721. if v ~= game.Players.LocalPlayer.Character and v.Name ~= regionPartName then
  4722. v:Destroy()
  4723. end
  4724. end
  4725. end
  4726. end
  4727. wait(2)
  4728. while not game:GetService("Workspace").dungeon.room3.enemyFolder:FindFirstChildOfClass("Model") do
  4729. wait(1)
  4730. end
  4731. -- get to bottom layer
  4732. forceObjectiveExists = true
  4733. thePart.CFrame = CFrame.new(58.451, 140.645, -221.236)
  4734. local _,_,_,root = getPlayer()
  4735. while true do
  4736. if root ~= nil then
  4737. if getMag(root.Position, thePart.Position) < 5 then
  4738. break
  4739. end
  4740. end
  4741. wait()
  4742. end
  4743. thePart.CFrame = CFrame.new(77.782, 140.645, -233.241)
  4744. while root.Position.Y > 135 do
  4745. wait()
  4746. end
  4747. forceObjectiveExists = false
  4748.  
  4749. while not game:GetService("Workspace").dungeon.room4.enemyFolder:FindFirstChild("The Kraken") do
  4750. wait(1)
  4751. end
  4752. while not game:GetService("Workspace").dungeon.room4.enemyFolder:FindFirstChild("The Kraken"):FindFirstChild("HumanoidRootPart") do
  4753. wait(1)
  4754. end
  4755. while game:GetService("Workspace").dungeon.room4.enemyFolder:FindFirstChild("The Kraken"):FindFirstChild("HumanoidRootPart").Position.Y < -20 do
  4756. forceObjectiveExists = true
  4757. thePart.CFrame = CFrame.new(100.95, 58.9558, -524.832)
  4758. wait()
  4759. end
  4760. forceObjectiveExists = false
  4761. game:GetService("Players").LocalPlayer.Character.LowerTorso.Root:Remove()
  4762. game:GetService("Players").LocalPlayer.Character.LowerTorso.Anchored = true
  4763. spawn(function()
  4764. while true do
  4765. local s = game:GetService("Workspace").dungeon.bossRoom.enemyFolder
  4766. if s:FindFirstChild("Sea Serpent") then
  4767. local g = s:FindFirstChild("Sea Serpent")
  4768. while g ~= nil and g.Parent ~= nil and g:FindFirstChild("Humanoid") and g.Humanoid.Health > 0 do
  4769. if game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") and game.Players.LocalPlayer.Character:FindFirstChild("Humanoid") then
  4770. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = g.PrimaryPart.CFrame * CFrame.new(0,0,10)
  4771. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  4772. end
  4773. game:GetService("RunService").RenderStepped:wait()
  4774. end
  4775. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,220,0)
  4776. end
  4777. wait(1)
  4778. end
  4779. end)
  4780. end
  4781.  
  4782. function samuraiFix()
  4783. _G.smallTeleports = true
  4784. _G.teleportDuringBossOnly = true
  4785. createWall(CFrame.new(-79.3490448, 17.7415733, -86.7040176, 0.7313537, 0, -0.681998372, 0, 1, 0, 0.681998372, 0, 0.7313537), Vector3.new(73.0999832, 120, 5))
  4786. createWall(CFrame.new(-121.829887, 46.2415581, -115.202858, 0.974370062, 0, -0.224951044, 0, 1, 0, 0.224951044, 0, 0.974370062), Vector3.new(34.9499969, 176.999969, 5))
  4787. createWall(CFrame.new(-144.170593, 49.5415764, -131.804932, 0.57357645, 0, -0.819152057, 0, 1, 0, 0.819152057, 0, 0.57357645), Vector3.new(34.9499969, 183.600006, 5))
  4788. createWall(CFrame.new(-148.874176, 40.8565865, -154.876312, 0.0174523834, 0, -0.99984771, 0, 1, 0, 0.99984771, 0, 0.0174523834), Vector3.new(34.9499969, 166.230026, 5))
  4789. createWall(CFrame.new(-145.585724, 36.8465843, -173.163925, -0.559192896, -4.88861964e-08, -0.829037547, -1.49460107e-08, 1, -4.88861964e-08, 0.829037547, -1.49460107e-08, -0.559192896), Vector3.new(34.9499969, 158.210022, 5))
  4790. createWall(CFrame.new(-128.299927, 38.8115654, -190.066727, -0.838670552, -7.33189083e-08, -0.544639051, -3.98089171e-08, 1, -7.33189083e-08, 0.544639051, -3.98089171e-08, -0.838670552), Vector3.new(34.9499969, 162.139984, 5))
  4791. createWall(CFrame.new(-114.954521, 38.4115791, -193.36969, -0.99862951, -8.73029649e-08, -0.0523359589, -8.28474214e-08, 1, -8.73029649e-08, 0.0523359589, -8.28474214e-08, -0.99862951), Vector3.new(34.9499969, 161.340012, 5))
  4792. createWall(CFrame.new(-94.6667786, 41.6165733, -187.850113, -0.906307757, -7.92319383e-08, 0.42261827, -1.24369237e-07, 1, -7.92319383e-08, -0.42261827, -1.24369237e-07, -0.906307757), Vector3.new(34.9499969, 167.75, 5))
  4793. createWall(CFrame.new(-76.6514664, 42.5215492, -173.739227, -0.484809577, -4.23833981e-08, 0.874619722, -1.63884465e-07, 1, -4.23833981e-08, -0.874619722, -1.63884465e-07, -0.484809577), Vector3.new(34.9499969, 169.559952, 5))
  4794. createWall(CFrame.new(-71.1062622, 38.1915855, -159.090225, 0.0174523834, 0, 0.99984771, 0, 1, 0, -0.99984771, 0, 0.0174523834), Vector3.new(34.9499969, 160.900024, 5))
  4795. createWall(CFrame.new(-70.8261185, 31.206562, -149.575394, 0.49999997, 0, 0.866025448, 0, 1, 0, -0.866025448, 0, 0.49999997), Vector3.new(34.9499969, 146.929977, 5))
  4796. createWall(CFrame.new(-53.192379, 17.7415733, -112.487228, -0.719339788, -6.28866843e-08, 0.694658399, -1.48151742e-07, 1, -6.28866843e-08, -0.694658399, -1.48151742e-07, -0.719339788), Vector3.new(71.1999741, 120, 5))
  4797. createWall(CFrame.new(-16.0917797, 17.7415733, -84.8617783, -0.927183867, -8.10569887e-08, 0.37460658, -1.20171919e-07, 1, -8.10569887e-08, -0.37460658, -1.20171919e-07, -0.927183867), Vector3.new(28.6499805, 120, 5))
  4798. createWall(CFrame.new(18.1154346, 17.7415733, -80.3057556, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(44.1499825, 120, 5))
  4799. createWall(CFrame.new(44.4154396, 17.7415733, -77.3612747, -0.866025388, -7.57103464e-08, 0.5, -1.31134158e-07, 1, -7.57103464e-08, -0.5, -1.31134158e-07, -0.866025388), Vector3.new(44.1499825, 120, 5))
  4800. createWall(CFrame.new(86.6246567, 17.7415733, -47.5756416, -0.777145922, -6.79402561e-08, 0.629320383, -1.42439717e-07, 1, -6.79402561e-08, -0.629320383, -1.42439717e-07, -0.777145922), Vector3.new(82.649971, 120, 5))
  4801. createWall(CFrame.new(-52.7619934, 17.7415733, 44.2467651, -0.0174523834, -1.52573587e-09, 0.99984771, -1.74832238e-07, 1, -1.52573587e-09, -0.99984771, -1.74832238e-07, -0.0174523834), Vector3.new(210.749954, 120, 5))
  4802. createWall(CFrame.new(113.934662, 17.7415733, 5.35666466, -0.0174523834, -1.52573587e-09, 0.99984771, -1.74832238e-07, 1, -1.52573587e-09, -0.99984771, -1.74832238e-07, -0.0174523834), Vector3.new(68.5999527, 120, 5))
  4803. createWall(CFrame.new(105.848, 17.7415733, 100.737358, -0.0174523834, -1.52573587e-09, 0.99984771, -1.74832238e-07, 1, -1.52573587e-09, -0.99984771, -1.74832238e-07, -0.0174523834), Vector3.new(96.9499588, 120, 5))
  4804. createWall(CFrame.new(76.6631012, 75.4415894, 148.297241, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(68.8998871, 129, 18.5))
  4805. createWall(CFrame.new(22.9380455, 76.1915817, 312.697144, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(141.350006, 127.5, 10))
  4806. createWall(CFrame.new(101.938057, 75.9415817, 232.997162, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(162.44989, 128, 8.5))
  4807. createWall(CFrame.new(-132.212021, 79.9415817, 180.147202, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(168.149887, 120, 72))
  4808. createWall(CFrame.new(-123.587051, 79.9415817, 287.997192, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(150.899948, 120, 72.5))
  4809. createWall(CFrame.new(-229.801941, 79.9415817, 220.263245, -0.906307757, -7.92319383e-08, -0.42261827, -5.04763129e-08, 1, -7.92319383e-08, 0.42261827, -5.04763129e-08, -0.906307757), Vector3.new(55.5999222, 120, 5))
  4810. createWall(CFrame.new(-241.71637, 79.9415817, 221.566833, -0.342020154, -2.99003524e-08, -0.939692616, -5.27224131e-09, 1, -2.99003524e-08, 0.939692616, -5.27224131e-09, -0.342020154), Vector3.new(55.5999222, 120, 5))
  4811. createWall(CFrame.new(-276.772064, 79.9415817, 273.57489, -0.681998372, -5.96221881e-08, -0.7313537, -2.34858035e-08, 1, -5.96221881e-08, 0.7313537, -2.34858035e-08, -0.681998372), Vector3.new(73.2999039, 120, 5))
  4812. createWall(CFrame.new(-247.87471, 79.9415817, 294.94928, -0.7313537, -6.3936973e-08, -0.681998372, -2.78005885e-08, 1, -6.3936973e-08, 0.681998372, -2.78005885e-08, -0.7313537), Vector3.new(65.2999191, 120, 5))
  4813. createWall(CFrame.new(-217.981018, 79.9415817, 272.917114, -0.997564077, -8.72098198e-08, -0.0697564706, -8.13244725e-08, 1, -8.72098198e-08, 0.0697564706, -8.13244725e-08, -0.997564077), Vector3.new(17.0999241, 120, 5))
  4814. createWall(CFrame.new(-204.486954, 79.9415817, 264.958984, -0.484809577, -4.23833981e-08, -0.874619722, -1.09610951e-08, 1, -4.23833981e-08, 0.874619722, -1.09610951e-08, -0.484809577), Vector3.new(27.4999256, 120, 5))
  4815. createWall(CFrame.new(-307.982819, 79.9415817, 295.596252, 0.866025388, 0, -0.5, 0, 1, 0, 0.5, 0, 0.866025388), Vector3.new(20.2499027, 120, 5))
  4816. createWall(CFrame.new(-324.856873, 79.9415817, 291.09314, 0.999390841, 0, 0.0348994955, 0, 1, 0, -0.0348994955, 0, 0.999390841), Vector3.new(20.2499027, 120, 5))
  4817. createWall(CFrame.new(-334.888336, 79.9415817, 294.865021, 0.838670552, 0, 0.544639051, 0, 1, 0, -0.544639051, 0, 0.838670552), Vector3.new(25.0999069, 120, 5))
  4818. createWall(CFrame.new(-344.876831, 79.9415817, 303.412811, 0.544639051, 0, 0.838670552, 0, 1, 0, -0.838670552, 0, 0.544639051), Vector3.new(25.0999069, 120, 5))
  4819. createWall(CFrame.new(-353.138275, 79.9415817, 319.06076, 0.309016973, 0, 0.95105654, 0, 1, 0, -0.95105654, 0, 0.309016973), Vector3.new(25.0999069, 120, 5))
  4820. createWall(CFrame.new(-355.918182, 79.9415817, 338.616058, -0.156434491, -1.36759377e-08, 0.987688363, -1.73769237e-07, 1, -1.36759377e-08, -0.987688363, -1.73769237e-07, -0.156434491), Vector3.new(25.0999069, 120, 5))
  4821. createWall(CFrame.new(-338.64389, 79.9415817, 361.615967, -0.719339788, -6.28866843e-08, 0.694658399, -1.48151742e-07, 1, -6.28866843e-08, -0.694658399, -1.48151742e-07, -0.719339788), Vector3.new(50.5999031, 120, 5))
  4822. createWall(CFrame.new(-340.175018, 79.9415817, 406.1138, -0.642787635, -5.61942812e-08, -0.766044438, -2.04530437e-08, 1, -5.61942812e-08, 0.766044438, -2.04530437e-08, -0.642787635), Vector3.new(68.14991, 120, 5))
  4823. createWall(CFrame.new(-345.91333, 79.9415817, 462.58136, 0.42261824, 0, -0.906307817, 0, 1, 0, 0.906307817, 0, 0.42261824), Vector3.new(103.199928, 120, 5))
  4824. createWall(CFrame.new(-308.45636, 79.9415817, 507.855316, 0.987688363, 0, -0.156434476, 0, 1, 0, 0.156434476, 0, 0.987688363), Vector3.new(47.6499405, 120, 5))
  4825. createWall(CFrame.new(-276.312256, 79.9415817, 511.668976, 0.99984771, 0, 0.0174524058, 0, 1, 0, -0.0174524058, 0, 0.99984771), Vector3.new(47.6499405, 120, 5))
  4826. createWall(CFrame.new(-241.047165, 79.9415817, 538.805542, -0.453990519, -3.96891124e-08, 0.891006529, -1.65317033e-07, 1, -3.96891124e-08, -0.891006529, -1.65317033e-07, -0.453990519), Vector3.new(65.5499344, 120, 5))
  4827. createWall(CFrame.new(-220.261414, 79.9415817, 575.792419, -0.559192896, -4.88861964e-08, 0.829037547, -1.59899542e-07, 1, -4.88861964e-08, -0.829037547, -1.59899542e-07, -0.559192896), Vector3.new(47.3499336, 120, 5))
  4828. createWall(CFrame.new(-186.82869, 79.9415817, 601.801575, -0.882947564, -7.71897248e-08, 0.469471574, -1.28465288e-07, 1, -7.71897248e-08, -0.469471574, -1.28465288e-07, -0.882947564), Vector3.new(76.9499283, 120, 5))
  4829. createWall(CFrame.new(-273.247772, 79.9415817, 323.264557, -0.42261824, -3.69464601e-08, -0.906307817, -8.19083112e-09, 1, -3.69464601e-08, 0.906307817, -8.19083112e-09, -0.42261824), Vector3.new(17.9499207, 120, 5))
  4830. createWall(CFrame.new(-278.552307, 79.9415817, 339.3573, -0.207911655, -1.81762143e-08, -0.978147626, -1.91039362e-09, 1, -1.81762143e-08, 0.978147626, -1.91039362e-09, -0.207911655), Vector3.new(17.9499207, 120, 5))
  4831. createWall(CFrame.new(-283.670166, 79.9415817, 356.718292, -0.35836798, -3.13295239e-08, -0.933580399, -5.80658366e-09, 1, -3.13295239e-08, 0.933580399, -5.80658366e-09, -0.35836798), Vector3.new(20.6499119, 120, 5))
  4832. createWall(CFrame.new(-268.345642, 79.9415817, 364.530884, 0.999390841, 0, 0.0348994955, 0, 1, 0, -0.0348994955, 0, 0.999390841), Vector3.new(40.7998962, 120, 5))
  4833. createWall(CFrame.new(-232.930862, 79.9415817, 367.778046, 0.974370062, 0, -0.224951044, 0, 1, 0, 0.224951044, 0, 0.974370062), Vector3.new(40.7998962, 120, 5))
  4834. createWall(CFrame.new(-198.301727, 79.9415817, 406.548157, -0.438371152, -3.83236234e-08, 0.898794055, -1.65997847e-07, 1, -3.83236234e-08, -0.898794055, -1.65997847e-07, -0.438371152), Vector3.new(85.8499603, 120, 5))
  4835. createWall(CFrame.new(-191.77713, 79.9415817, 455.941559, -0.515038073, -4.50260593e-08, -0.857167304, -1.24868293e-08, 1, -4.50260593e-08, 0.857167304, -1.24868293e-08, -0.515038073), Vector3.new(42.049984, 120, 5))
  4836. createWall(CFrame.new(-208.300247, 79.9415817, 479.683472, -0.629320443, -5.50169403e-08, -0.777145922, -1.94825205e-08, 1, -5.50169403e-08, 0.777145922, -1.94825205e-08, -0.629320443), Vector3.new(42.049984, 120, 5))
  4837. createWall(CFrame.new(-209.384109, 79.9415817, 507.477234, 0.642787635, 0, -0.766044438, 0, 1, 0, 0.766044438, 0, 0.642787635), Vector3.new(36.9999733, 120, 5))
  4838. createWall(CFrame.new(-180.930634, 79.9415817, 525.294922, 0.974370062, 0, -0.224951044, 0, 1, 0, 0.224951044, 0, 0.974370062), Vector3.new(36.9999733, 120, 5))
  4839. createWall(CFrame.new(-145.599655, 79.9415817, 528.387268, 0.997564077, 0, 0.0697564706, 0, 1, 0, -0.0697564706, 0, 0.997564077), Vector3.new(36.9999733, 120, 5))
  4840. createWall(CFrame.new(-132.102982, 79.9415817, 531.453186, -0.0697565079, -6.09830764e-09, 0.997564077, -1.74632589e-07, 1, -6.09830764e-09, -0.997564077, -1.74632589e-07, -0.0697565079), Vector3.new(35.899971, 120, 17.3999958))
  4841. createWall(CFrame.new(-153.191727, 79.9415817, 603.870667, 0.49999997, 0, 0.866025448, 0, 1, 0, -0.866025448, 0, 0.49999997), Vector3.new(36.1999664, 120, 9.19999409))
  4842. createWall(CFrame.new(92.1630783, 79.9415817, 575.945129, 0.99984771, 0, -0.0174524058, 0, 1, 0, 0.0174524058, 0, 0.99984771), Vector3.new(129.549896, 120, 14.0500021))
  4843. createWall(CFrame.new(85.5814362, 79.9415817, 623.537842, 0.99984771, 0, -0.0174524058, 0, 1, 0, 0.0174524058, 0, 0.99984771), Vector3.new(118.049873, 120, 14.0500021))
  4844. createWall(CFrame.new(155.319351, 79.9415817, 644.592834, 0.438371152, 0, -0.898794055, 0, 1, 0, 0.898794055, 0, 0.438371152), Vector3.new(58.5498695, 120, 4.65000153))
  4845. createWall(CFrame.new(150.972641, 79.9415817, 733.93103, 0.275637388, 0, 0.96126169, 0, 1, 0, -0.96126169, 0, 0.275637388), Vector3.new(134.699875, 120, 4.65000153))
  4846. createWall(CFrame.new(113.599823, 79.9415817, 834.299438, 0.469471604, 0, 0.882947564, 0, 1, 0, -0.882947564, 0, 0.469471604), Vector3.new(82.6498489, 120, 4.65000153))
  4847. createWall(CFrame.new(83.7891617, 79.9415817, 886.715393, 0.544639051, 0, 0.838670552, 0, 1, 0, -0.838670552, 0, 0.544639051), Vector3.new(40.299839, 120, 4.65000153))
  4848. createWall(CFrame.new(57.0700951, 79.9415817, 912.924072, 0.857167304, 0, 0.515038073, 0, 1, 0, -0.515038073, 0, 0.857167304), Vector3.new(40.299839, 120, 4.65000153))
  4849. createWall(CFrame.new(-16.656601, 79.9415817, 934.313538, 0.981627166, 0, 0.190808997, 0, 1, 0, -0.190808997, 0, 0.981627166), Vector3.new(116.849838, 120, 4.65000153))
  4850. createWall(CFrame.new(-14.7186928, 79.9415817, 1032.85339, 0.981627166, 0, 0.190808997, 0, 1, 0, -0.190808997, 0, 0.981627166), Vector3.new(150.649872, 120, 4.65000153))
  4851. createWall(CFrame.new(100.627106, 79.9415817, 999.678406, 0.91354543, 0, 0.406736642, 0, 1, 0, -0.406736642, 0, 0.91354543), Vector3.new(96.7998657, 120, 4.65000153))
  4852. createWall(CFrame.new(-82.9455414, 79.9415817, 944.657593, 0.99984771, 0, -0.0174524058, 0, 1, 0, 0.0174524058, 0, 0.99984771), Vector3.new(37.8998451, 120, 4.65000153))
  4853. createWall(CFrame.new(-131.292542, 79.9415817, 922.620178, 0.798635542, 0, -0.601814985, 0, 1, 0, 0.601814985, 0, 0.798635542), Vector3.new(75.9498596, 120, 4.65000153))
  4854. createWall(CFrame.new(-232.84433, 79.9415817, 900.761597, 0.99862951, 0, -0.0523359589, 0, 1, 0, 0.0523359589, 0, 0.99862951), Vector3.new(160.549911, 120, 4.65000153))
  4855. createWall(CFrame.new(-99.3179703, 79.9415817, 1066.7688, 0.515038073, 0, 0.857167304, 0, 1, 0, -0.857167304, 0, 0.515038073), Vector3.new(47.8498611, 120, 4.65000153))
  4856. createWall(CFrame.new(191.109024, 79.9415817, 590.424316, 0.96126169, 0, -0.275637358, 0, 1, 0, 0.275637358, 0, 0.96126169), Vector3.new(129.549896, 120, 14.0500021))
  4857. createWall(CFrame.new(116.764015, 79.9415817, 982.981506, 0.587785304, 0, 0.809017003, 0, 1, 0, -0.809017003, 0, 0.587785304), Vector3.new(44.3998642, 120, 4.65000153))
  4858. createWall(CFrame.new(147.403961, 79.9415817, 956.020203, 0.866025388, 0, 0.5, 0, 1, 0, -0.5, 0, 0.866025388), Vector3.new(44.3998642, 120, 4.65000153))
  4859. createWall(CFrame.new(187.493103, 79.9415817, 912.867615, 0.669130564, 0, 0.74314487, 0, 1, 0, -0.74314487, 0, 0.669130564), Vector3.new(115.299873, 120, 4.65000153))
  4860. createWall(CFrame.new(199.873352, 79.9415817, 869.370178, -0.0348994955, -3.05101078e-09, 0.999390841, -1.74792291e-07, 1, -3.05101078e-09, -0.999390841, -1.74792291e-07, -0.0348994955), Vector3.new(120.999878, 120, 4.65000153))
  4861. createWall(CFrame.new(203.445938, 79.9415817, 792.87146, 0.309016973, 0, 0.95105654, 0, 1, 0, -0.95105654, 0, 0.309016973), Vector3.new(36.849865, 120, 4.65000153))
  4862. createWall(CFrame.new(207.590225, 79.9415817, 760.274048, 0.0348994955, 0, -0.999390841, 0, 1, 0, 0.999390841, 0, 0.0348994955), Vector3.new(52.099865, 120, 4.65000153))
  4863. createWall(CFrame.new(220.461777, 79.9415817, 663.820862, -0.258819073, -2.26266827e-08, -0.965925813, -2.97885805e-09, 1, -2.26266827e-08, 0.965925813, -2.97885805e-09, -0.258819073), Vector3.new(145.199936, 120, 14.2000027))
  4864. createWall(CFrame.new(-312.379059, 79.9415817, 901.517517, 0.642787635, 0, 0.766044438, 0, 1, 0, -0.766044438, 0, 0.642787635), Vector3.new(55.4000015, 120, 4.65000153))
  4865. createWall(CFrame.new(-325.956299, 79.9415817, 988.109619, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), Vector3.new(173.950043, 120, 4.65000153))
  4866. createWall(CFrame.new(-198.956482, 79.9415817, 1094.80957, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(188.15004, 120, 4.65000153))
  4867. createWall(CFrame.new(46.1631012, 77.6916199, 283.547241, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(71.8998871, 17.5, 4))
  4868. createWall(CFrame.new(-153.191727, 79.9415817, 603.870667, 0.49999997, 0, 0.866025448, 0, 1, 0, -0.866025448, 0, 0.49999997), Vector3.new(36.1999664, 120, 9.19999409))
  4869. createWall(CFrame.new(-218.836899, 66.4415817, 262.047241, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(84.8998871, 1, 108))
  4870. createWall(CFrame.new(-35.8530579, 63.9391098, 607.062622, -1.00000024, 6.68149738e-22, 0, -6.68149738e-22, 1, 0, 0, 0, -0.999999881), Vector3.new(207.399887, 1.5, 166))
  4871. createWall(CFrame.new(78.6687851, 17.7415791, 47.7285957, -0.0174523834, -1.52573587e-09, 0.99984771, -1.74832238e-07, 1, -1.52573587e-09, -0.99984771, -1.74832238e-07, -0.0174523834), Vector3.new(46.0999527, 120, 77))
  4872. createWall(CFrame.new(-14.8169785, 17.7415791, 49.3603935, -0.0174523834, -1.52573587e-09, 0.99984771, -1.74832238e-07, 1, -1.52573587e-09, -0.99984771, -1.74832238e-07, -0.0174523834), Vector3.new(46.0999527, 120, 78))
  4873. createWall(CFrame.new(32.8341637, 5.29244184, 34.5653267, -3.7252903e-09, 4.65661287e-10, 1, -0.244939968, 0.969538212, 1.25146471e-09, -0.969538152, -0.244939908, 3.7252903e-09), Vector3.new(51.5999527, 5, 20.5))
  4874. createWall(CFrame.new(25.6630993, 93.6915894, 151.797241, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(135.899887, 92.5, 9.5))
  4875. createWall(CFrame.new(-21.0868988, 73.9415894, 149.297241, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(69.3998871, 132, 14.5))
  4876. createWall(CFrame.new(-50.836895, 37.691597, 220.797241, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(9.89988708, 59.5, 157.5))
  4877. createWall(CFrame.new(56.413105, 38.6916161, 283.547241, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(92.3998871, 61.5, 4))
  4878. createWall(CFrame.new(-32.086895, 38.6916046, 283.547241, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(28.3998871, 61.5, 4))
  4879. createWall(CFrame.new(30.4380493, 67.9415741, 211.697144, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(156.350006, 4, 146))
  4880. createWall(CFrame.new(29.5450134, 2.84688377, 217.2388, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(165.91008, 22.4399872, 132.789948))
  4881. createWall(CFrame.new(87.6880493, 67.1915817, 224.947144, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(24.8500061, 4.5, 172.5))
  4882. createWall(CFrame.new(48.4890289, 38.7647934, 298.738983, -0.707106829, -0.707106769, 4.37113883e-08, -0.707106829, 0.707106769, -4.37113847e-08, 0, -6.18172393e-08, -1), Vector3.new(81.3500061, 5.5, 26))
  4883. createWall(CFrame.new(-8.87301826, 14.249526, 296.988922, -1.00000012, -8.94069672e-08, 9.40053089e-15, -8.94069672e-08, 0.99999994, -8.74227695e-08, 1.77635684e-15, -8.74227766e-08, -1), Vector3.new(59.3500061, 0.5, 26.5))
  4884. createWall(CFrame.new(-28.1230221, 37.4995232, 296.988922, -1.00000012, -8.94069672e-08, 9.40053089e-15, -8.94069672e-08, 0.99999994, -8.74227695e-08, 1.77635684e-15, -8.74227766e-08, -1), Vector3.new(20.8500061, 47, 26.5))
  4885. createWall(CFrame.new(28.0450134, 2.59688377, 106.488808, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(158.91008, 21.9399872, 94.2899399))
  4886. createWall(CFrame.new(-124.586899, 67.1915894, 236.797241, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(157.399887, 0.5, 57.5))
  4887. createWall(CFrame.new(-254.643875, 66.3116455, 432.286926, -0.912263155, 0, -0.409604788, -6.68149738e-22, 1, 0, 0.409604847, 0, -0.912263036), Vector3.new(207.399887, 2.5, 151))
  4888. createWall(CFrame.new(-125.181572, 64.4391098, 589.670898, -0.945519269, 2.00444967e-21, 0.325568169, -2.04085147e-21, 1, -2.17528256e-22, -0.325568289, 5.04870979e-29, -0.945518196), Vector3.new(17.3998871, 2.5, 166))
  4889. createWall(CFrame.new(-137.709702, 64.9391098, 585.357117, -0.945519269, 2.00444967e-21, 0.325568169, -2.04085147e-21, 1, -2.17528256e-22, -0.325568289, 5.04870979e-29, -0.945518196), Vector3.new(22.8998871, 3.5, 166))
  4890. createWall(CFrame.new(19.0190639, 64.4391098, 609.972961, -0.990270078, 5.86774583e-21, 0.139173076, -5.88725364e-21, 1, 5.91148532e-22, -0.139173225, 8.70114437e-22, -0.990266919), Vector3.new(23.8998871, 2.5, 111.5))
  4891. createWall(CFrame.new(105.727264, 64.9391098, 804.053894, -0.990270078, 5.86774583e-21, 0.139173076, -5.88725364e-21, 1, 5.91148532e-22, -0.139173225, 8.70114437e-22, -0.990266919), Vector3.new(214.149902, 3.5, 514.25))
  4892. createWall(CFrame.new(-224.200012, 65.5, 1001.75006, -1.00000405, 1.1819003e-20, 2.98023224e-07, -1.1819003e-20, 1, 5.46135296e-22, 2.98023224e-07, -5.46135296e-22, -0.999997675), Vector3.new(181.399902, 4, 138.5))
  4893. createWall(CFrame.new(-146.199707, 66, 1001.75006, -1.00000405, 1.1819003e-20, 2.98023224e-07, -1.1819003e-20, 1, 5.46135296e-22, 2.98023224e-07, -5.46135296e-22, -0.999997675), Vector3.new(25.3999023, 5, 138.5))
  4894. createWall(CFrame.new(-174.199951, 66, 1047.75, -0.62932831, 3.54571487e-20, 0.777146101, -4.02626932e-20, 1, -7.34422647e-21, -0.777149975, -1.63841185e-21, -0.629315674), Vector3.new(25.3999023, 5, 138.5))
  4895. createWall(CFrame.new(-237.197769, 66, 1060.49756, 0.173636138, 1.16034402e-19, 0.984809875, -1.30376718e-19, 1, -9.48368712e-20, -0.984809875, -1.11929169e-19, 0.173636138), Vector3.new(25.3999023, 5, 138.5))
  4896. createWall(CFrame.new(-283.1716, 66, 1015.58191, 0.906302631, 1.16034402e-19, 0.422629356, -1.52466835e-19, 1, 5.24021665e-20, -0.422629356, -1.11929169e-19, 0.906302631), Vector3.new(25.3999023, 5, 138.5))
  4897. createWall(CFrame.new(-261.013458, 66, 946.482361, 0.77715373, 1.16034389e-19, -0.629310906, -1.97383098e-20, 1, 1.60007905e-19, 0.629310906, -1.11929182e-19, 0.77715373), Vector3.new(25.3999023, 5, 138.5))
  4898. createWall(CFrame.new(-210.805298, 66, 933.739136, -0.190796942, 1.16034389e-19, -0.981629729, 1.32012016e-19, 1, 9.25470866e-20, 0.981629729, -1.11929182e-19, -0.190796942), Vector3.new(25.3999023, 5, 138.5))
  4899. createWall(CFrame.new(-162.697159, 66, 955.924011, -0.707098544, 1.16034363e-19, -0.707116008, 1.61194651e-19, 1, 2.90485394e-21, 0.707116008, -1.11929195e-19, -0.707098544), Vector3.new(25.3999023, 5, 138.5))
  4900. createWall(CFrame.new(-160.222321, 66.5, 953.449097, -0.707098544, 1.16034363e-19, -0.707116008, 1.61194651e-19, 1, 2.90485394e-21, 0.707116008, -1.11929195e-19, -0.707098544), Vector3.new(25.3999023, 5, 138.5))
  4901. createWall(CFrame.new(-157.040375, 67, 950.26709, -0.707098544, 1.16034363e-19, -0.707116008, 1.61194651e-19, 1, 2.90485394e-21, 0.707116008, -1.11929195e-19, -0.707098544), Vector3.new(25.3999023, 5, 138.5))
  4902. createWall(CFrame.new(-155.272629, 67.5, 948.499329, -0.707098544, 1.16034363e-19, -0.707116008, 1.61194651e-19, 1, 2.90485394e-21, 0.707116008, -1.11929195e-19, -0.707098544), Vector3.new(25.3999023, 5, 138.5))
  4903. createWall(CFrame.new(-152.797791, 68, 946.024414, -0.707098544, 1.16034363e-19, -0.707116008, 1.61194651e-19, 1, 2.90485394e-21, 0.707116008, -1.11929195e-19, -0.707098544), Vector3.new(25.3999023, 5, 138.5))
  4904. createWall(CFrame.new(-150.676498, 68.5, 943.903076, -0.707098544, 1.16034363e-19, -0.707116008, 1.61194651e-19, 1, 2.90485394e-21, 0.707116008, -1.11929195e-19, -0.707098544), Vector3.new(25.3999023, 5, 138.5))
  4905. createWall(CFrame.new(-144.199692, 66.5, 1001.75006, -1.00000405, 1.1819003e-20, 2.98023224e-07, -1.1819003e-20, 1, 5.46135296e-22, 2.98023224e-07, -5.46135296e-22, -0.999997675), Vector3.new(25.3999023, 5, 138.5))
  4906. createWall(CFrame.new(-141.199677, 67, 1001.75006, -1.00000405, 1.1819003e-20, 2.98023224e-07, -1.1819003e-20, 1, 5.46135296e-22, 2.98023224e-07, -5.46135296e-22, -0.999997675), Vector3.new(25.3999023, 5, 138.5))
  4907. createWall(CFrame.new(-140.199661, 67.5, 1001.75006, -1.00000405, 1.1819003e-20, 2.98023224e-07, -1.1819003e-20, 1, 5.46135296e-22, 2.98023224e-07, -5.46135296e-22, -0.999997675), Vector3.new(25.3999023, 5, 138.5))
  4908. createWall(CFrame.new(-139.199661, 68, 1001.75006, -1.00000405, 1.1819003e-20, 2.98023224e-07, -1.1819003e-20, 1, 5.46135296e-22, 2.98023224e-07, -5.46135296e-22, -0.999997675), Vector3.new(25.3999023, 5, 138.5))
  4909. createWall(CFrame.new(-116.44957, 68.5, 1001.75006, -1.00000405, 1.1819003e-20, 2.98023224e-07, -1.1819003e-20, 1, 5.46135296e-22, 2.98023224e-07, -5.46135296e-22, -0.999997675), Vector3.new(67.8999023, 5, 138.5))
  4910. createWall(CFrame.new(-112.699554, 68, 1001.75006, -1.00000405, 1.1819003e-20, 2.98023224e-07, -1.1819003e-20, 1, 5.46135296e-22, 2.98023224e-07, -5.46135296e-22, -0.999997675), Vector3.new(75.3999023, 4, 138.5))
  4911. createWall(CFrame.new(-107.699532, 67.5, 1001.75006, -1.00000405, 1.1819003e-20, 2.98023224e-07, -1.1819003e-20, 1, 5.46135296e-22, 2.98023224e-07, -5.46135296e-22, -0.999997675), Vector3.new(85.3999023, 3, 138.5))
  4912. createWall(CFrame.new(-103.949516, 67, 1001.75006, -1.00000405, 1.1819003e-20, 2.98023224e-07, -1.1819003e-20, 1, 5.46135296e-22, 2.98023224e-07, -5.46135296e-22, -0.999997675), Vector3.new(92.8999023, 2, 138.5))
  4913. createWall(CFrame.new(-100.199501, 66.75, 1001.75006, -1.00000405, 1.1819003e-20, 2.98023224e-07, -1.1819003e-20, 1, 5.46135296e-22, 2.98023224e-07, -5.46135296e-22, -0.999997675), Vector3.new(100.399902, 1.5, 138.5))
  4914. createWall(CFrame.new(-173.570618, 66.5, 1048.5271, -0.62932831, 3.54571487e-20, 0.777146101, -4.02626932e-20, 1, -7.34422647e-21, -0.777149975, -1.63841185e-21, -0.629315674), Vector3.new(25.3999023, 5, 138.5))
  4915. createWall(CFrame.new(-172.626633, 67, 1049.69287, -0.62932831, 3.54571487e-20, 0.777146101, -4.02626932e-20, 1, -7.34422647e-21, -0.777149975, -1.63841185e-21, -0.629315674), Vector3.new(25.3999023, 5, 138.5))
  4916. createWall(CFrame.new(-171.367981, 67.5, 1051.24719, -0.62932831, 3.54571487e-20, 0.777146101, -4.02626932e-20, 1, -7.34422647e-21, -0.777149975, -1.63841185e-21, -0.629315674), Vector3.new(25.3999023, 5, 138.5))
  4917. createWall(CFrame.new(-168.536011, 68, 1054.74438, -0.62932831, 3.54571487e-20, 0.777146101, -4.02626932e-20, 1, -7.34422647e-21, -0.777149975, -1.63841185e-21, -0.629315674), Vector3.new(25.3999023, 5, 138.5))
  4918. createWall(CFrame.new(-166.962692, 68.5, 1056.68726, -0.62932831, 3.54571487e-20, 0.777146101, -4.02626932e-20, 1, -7.34422647e-21, -0.777149975, -1.63841185e-21, -0.629315674), Vector3.new(25.3999023, 5, 138.5))
  4919. createWall(CFrame.new(-166.018707, 69, 1057.85303, -0.62932831, 3.54571487e-20, 0.777146101, -4.02626932e-20, 1, -7.34422647e-21, -0.777149975, -1.63841185e-21, -0.629315674), Vector3.new(25.3999023, 5, 138.5))
  4920. createWall(CFrame.new(-238.239594, 66.5, 1066.40637, 0.173636138, 1.16034402e-19, 0.984809875, -1.30376718e-19, 1, -9.48368712e-20, -0.984809875, -1.11929169e-19, 0.173636138), Vector3.new(25.3999023, 5, 138.5))
  4921. createWall(CFrame.new(-238.673691, 67, 1068.86841, 0.173636138, 1.16034402e-19, 0.984809875, -1.30376718e-19, 1, -9.48368712e-20, -0.984809875, -1.11929169e-19, 0.173636138), Vector3.new(25.3999023, 5, 138.5))
  4922. createWall(CFrame.new(-239.020966, 67.5, 1070.83801, 0.173636138, 1.16034402e-19, 0.984809875, -1.30376718e-19, 1, -9.48368712e-20, -0.984809875, -1.11929169e-19, 0.173636138), Vector3.new(25.3999023, 5, 138.5))
  4923. createWall(CFrame.new(-239.54187, 68, 1073.79248, 0.173636138, 1.16034402e-19, 0.984809875, -1.30376718e-19, 1, -9.48368712e-20, -0.984809875, -1.11929169e-19, 0.173636138), Vector3.new(25.3999023, 5, 138.5))
  4924. createWall(CFrame.new(-240.062775, 68.5, 1076.74695, 0.173636138, 1.16034402e-19, 0.984809875, -1.30376718e-19, 1, -9.48368712e-20, -0.984809875, -1.11929169e-19, 0.173636138), Vector3.new(25.3999023, 5, 138.5))
  4925. createWall(CFrame.new(-286.343658, 66.5, 1017.0611, 0.906302631, 1.16034402e-19, 0.422629356, -1.52466835e-19, 1, 5.24021665e-20, -0.422629356, -1.11929169e-19, 0.906302631), Vector3.new(25.3999023, 5, 138.5))
  4926. createWall(CFrame.new(-289.515717, 67, 1018.54028, 0.906302631, 1.16034402e-19, 0.422629356, -1.52466835e-19, 1, 5.24021665e-20, -0.422629356, -1.11929169e-19, 0.906302631), Vector3.new(25.3999023, 5, 138.5))
  4927. createWall(CFrame.new(-291.781464, 67.5, 1019.59686, 0.906302631, 1.16034402e-19, 0.422629356, -1.52466835e-19, 1, 5.24021665e-20, -0.422629356, -1.11929169e-19, 0.906302631), Vector3.new(25.3999023, 5, 138.5))
  4928. createWall(CFrame.new(-294.500366, 68, 1020.86475, 0.906302631, 1.16034402e-19, 0.422629356, -1.52466835e-19, 1, 5.24021665e-20, -0.422629356, -1.11929169e-19, 0.906302631), Vector3.new(25.3999023, 5, 138.5))
  4929. createWall(CFrame.new(-298.12558, 68.5, 1022.55524, 0.906302631, 1.16034402e-19, 0.422629356, -1.52466835e-19, 1, 5.24021665e-20, -0.422629356, -1.11929169e-19, 0.906302631), Vector3.new(25.3999023, 5, 138.5))
  4930. createWall(CFrame.new(-262.179199, 66.5, 945.538391, 0.77715373, 1.16034389e-19, -0.629310906, -1.97383098e-20, 1, 1.60007905e-19, 0.629310906, -1.11929182e-19, 0.77715373), Vector3.new(25.3999023, 5, 138.5))
  4931. createWall(CFrame.new(-263.34494, 67, 944.594421, 0.77715373, 1.16034389e-19, -0.629310906, -1.97383098e-20, 1, 1.60007905e-19, 0.629310906, -1.11929182e-19, 0.77715373), Vector3.new(25.3999023, 5, 138.5))
  4932. createWall(CFrame.new(-264.899261, 67.5, 943.335815, 0.77715373, 1.16034389e-19, -0.629310906, -1.97383098e-20, 1, 1.60007905e-19, 0.629310906, -1.11929182e-19, 0.77715373), Vector3.new(25.3999023, 5, 138.5))
  4933. createWall(CFrame.new(-266.065002, 68, 942.391846, 0.77715373, 1.16034389e-19, -0.629310906, -1.97383098e-20, 1, 1.60007905e-19, 0.629310906, -1.11929182e-19, 0.77715373), Vector3.new(25.3999023, 5, 138.5))
  4934. createWall(CFrame.new(-266.842163, 68.5, 941.762512, 0.77715373, 1.16034389e-19, -0.629310906, -1.97383098e-20, 1, 1.60007905e-19, 0.629310906, -1.11929182e-19, 0.77715373), Vector3.new(25.3999023, 5, 138.5))
  4935. createWall(CFrame.new(-210.137512, 66.5, 930.303406, -0.190796942, 1.16034389e-19, -0.981629729, 1.32012016e-19, 1, 9.25470866e-20, 0.981629729, -1.11929182e-19, -0.190796942), Vector3.new(25.3999023, 5, 138.5))
  4936. createWall(CFrame.new(-209.660522, 67, 927.849304, -0.190796942, 1.16034389e-19, -0.981629729, 1.32012016e-19, 1, 9.25470866e-20, 0.981629729, -1.11929182e-19, -0.190796942), Vector3.new(25.3999023, 5, 138.5))
  4937. createWall(CFrame.new(-208.992737, 67.5, 924.413635, -0.190796942, 1.16034389e-19, -0.981629729, 1.32012016e-19, 1, 9.25470866e-20, 0.981629729, -1.11929182e-19, -0.190796942), Vector3.new(25.3999023, 5, 138.5))
  4938. createWall(CFrame.new(-208.706543, 68, 922.941162, -0.190796942, 1.16034389e-19, -0.981629729, 1.32012016e-19, 1, 9.25470866e-20, 0.981629729, -1.11929182e-19, -0.190796942), Vector3.new(25.3999023, 5, 138.5))
  4939. createWall(CFrame.new(-208.420349, 68.5, 921.468689, -0.190796942, 1.16034389e-19, -0.981629729, 1.32012016e-19, 1, 9.25470866e-20, 0.981629729, -1.11929182e-19, -0.190796942), Vector3.new(25.3999023, 5, 138.5))
  4940. createWall(CFrame.new(42.9820786, 0.3806144, 36.3547974, -0.000348969304, 0, 0.99999994, 0, 1, 0, -0.99999994, 0, -0.000348969304), Vector3.new(49.7200928, 29.8699951, 3.82001257))
  4941. createWall(CFrame.new(21.461998, -1.51294553, 36.6358871, -0.000348969304, 0, 0.99999994, 0, 1, 0, -0.99999994, 0, -0.000348969304), Vector3.new(48.7200928, 36.8699951, 3.82001257))
  4942. createWall(CFrame.new(28.1880493, 67.1915741, 230.697144, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(160.850006, 2.5, 61))
  4943. createWall(CFrame.new(29.4380493, 67.6915741, 234.197144, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(158.350006, 3.5, 61))
  4944. createWall(CFrame.new(28.6880493, 67.4415741, 230.697144, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(159.850006, 3, 62))
  4945. createWall(CFrame.new(27.4380493, 66.9415741, 234.947144, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(162.350006, 2, 48.5))
  4946. createWall(CFrame.new(56.7784882, 64.9391098, 983.48761, -0.990270078, 5.86774583e-21, 0.139173076, -5.88725364e-21, 1, 5.91148532e-22, -0.139173225, 8.70114437e-22, -0.990266919), Vector3.new(261.149902, 3.5, 145.25))
  4947. wait(.1)
  4948. if _G.destroy_map then
  4949. for i,v in pairs(workspace:GetChildren()) do
  4950. if v.ClassName == "Model" or v.ClassName == "Part" or v.ClassName == "UnionOperation" or v.ClassName == "WedgePart" then
  4951. if v ~= game.Players.LocalPlayer.Character and v.Name ~= regionPartName then
  4952. v:Destroy()
  4953. end
  4954. end
  4955. end
  4956.  
  4957. game:GetService("Workspace").fence:Destroy()
  4958. game:GetService("Workspace").borders:Destroy()
  4959. end
  4960. workspace:WaitForChild("eliteSwordsman")
  4961. local s = game:GetService("Workspace").eliteSwordsman
  4962. s.ChildAdded:Connect(function(instance) -- all future folders, if mob spawned, give hitbox
  4963. if instance.ClassName == "Model" and instance.Name == "Ultimate Swordsman" then
  4964. instance:WaitForChild("HumanoidRootPart")
  4965. --cs:AddTag(instance, "Enemy")
  4966. addHitBox(instance, 30, "square")
  4967. end
  4968. end)
  4969.  
  4970. while not game:GetService("Workspace").dungeon.room4.enemyFolder:FindFirstChild("Sanada Yukimura") do
  4971. wait(1)
  4972. end
  4973. while not game:GetService("Workspace").dungeon.room4.enemyFolder:FindFirstChild("Sanada Yukimura"):FindFirstChild("HumanoidRootPart") do
  4974. wait(1)
  4975. end
  4976. -- cant path to second boss, paths to second boss area until hes in position
  4977. forceObjectiveExists = true
  4978. thePart.CFrame = CFrame.new(88.5511551, 72.7995224, 276.368042)
  4979. local _,_,_,root = getPlayer()
  4980. while root.Position.Y < 69.999526977539 do
  4981. wait()
  4982. end
  4983. forceObjectiveExists = false
  4984.  
  4985. end
  4986. function underworldFix()
  4987. createWall(CFrame.new(487, 65.1197205, 416.394165, 1, 0, 0, 0, 0.89100647, 0.4539904, 0, -0.4539904, 0.89100647), Vector3.new(68, 1, 83.5))
  4988. createWall(CFrame.new(487, 61.8143387, 275.542908, 1, 0, 0, 0, 0.89100647, 0.4539904, 0, -0.4539904, 0.89100647), Vector3.new(68, 1, 17.5))
  4989. --[[
  4990. while not game:GetService("Workspace").dungeon.room8.enemyFolder:FindFirstChild("Kolvumar") do
  4991. wait(1)
  4992. end
  4993. while not game:GetService("Workspace").dungeon.room8.enemyFolder:FindFirstChild("Kolvumar"):FindFirstChild("HumanoidRootPart") do
  4994. wait(1)
  4995. end]]
  4996. end
  4997.  
  4998. function pirateFix()
  4999. _G.smallTeleports = true
  5000. _G.teleportDuringBossOnly = true
  5001. createWall(CFrame.new(-68.2813721, 189.801392, 430.691193, 0.997564077, 0, -0.0697564706, 0, 1, 0, 0.0697564706, 0, 0.997564077), Vector3.new(115.020088, 173.349854, 90.7301254))
  5002. createWall(CFrame.new(-248.68956, 189.686432, 446.980225, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(145.240143, 173.119949, 132.979874))
  5003. createWall(CFrame.new(-156.12616, 190.301392, 468.405304, 0.997564077, 0, -0.0697564706, 0, 1, 0, 0.0697564706, 0, 0.997564077), Vector3.new(59.0200806, 174.349854, 3.23012543))
  5004. createWall(CFrame.new(-0.124966383, 263.126404, 237.607864, 0.948323667, 0, -0.317304641, 0, 1, 0, 0.317304641, 0, 0.948323667), Vector3.new(17.7299881, 319.999939, 105.929977))
  5005. createWall(CFrame.new(-13.9006824, 263.126404, 334.261169, 0.998134792, 0, 0.0610485412, 0, 1, 0, -0.0610485412, 0, 0.998134792), Vector3.new(16.7299881, 319.999939, 102.700035))
  5006. createWall(CFrame.new(12.5065136, 263.126404, 193.714981, 0.997564077, 0, 0.0697564706, 0, 1, 0, -0.0697564706, 0, 0.997564077), Vector3.new(10.2299871, 319.999939, 105.929977))
  5007. createWall(CFrame.new(-23.2540989, 263.126404, 130.036514, -0.0958457589, -8.37910274e-09, -0.995396197, -4.02479827e-10, 1, -8.37910274e-09, 0.995396197, -4.02479827e-10, -0.0958457589), Vector3.new(10.2299871, 319.999939, 108.449997))
  5008. createWall(CFrame.new(-182.51709, 263.126404, 105.839249, 0.113203242, 0, -0.993571877, 0, 1, 0, 0.993571877, 0, 0.113203242), Vector3.new(93.6899948, 319.999939, 94.2900009))
  5009. createWall(CFrame.new(-210.425171, 225.446411, 136.269073, 0.688354611, 0, -0.725374341, 0, 1, 0, 0.725374341, 0, 0.688354611), Vector3.new(37.7000008, 244.639954, 70.2799683))
  5010. createWall(CFrame.new(-240.888153, 225.446411, 204.484818, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(37.7000008, 244.639954, 125.269974))
  5011. createWall(CFrame.new(-242.00853, 223.686432, 287.601959, -0.99984771, -8.7409461e-08, 0.0174524058, -8.89485108e-08, 1, -8.7409461e-08, -0.0174524058, -8.89485108e-08, -0.99984771), Vector3.new(84.8199768, 241.119949, 65.279953))
  5012. createWall(CFrame.new(-266.261414, 223.686432, 329.667603, -0.737277329, -6.44548308e-08, 0.675590158, -1.46484751e-07, 1, -6.44548308e-08, -0.675590158, -1.46484751e-07, -0.737277329), Vector3.new(84.2599869, 241.119949, 103.149963))
  5013. createWall(CFrame.new(-171.303024, 263.126404, 7.99746418, 0.999961913, 0, -0.00872653536, 0, 1, 0, 0.00872653536, 0, 0.999961913), Vector3.new(18.7299881, 319.999939, 135.039978))
  5014. createWall(CFrame.new(-186.983673, 308.136475, -85.8008804, 0.878817141, 0, 0.477158755, 0, 1, 0, -0.477158755, 0, 0.878817141), Vector3.new(15.7299871, 229.979904, 62.4799805))
  5015. createWall(CFrame.new(-228.494202, 263.126404, -183.719955, 0.999961913, 0, -0.00872653536, 0, 1, 0, 0.00872653536, 0, 0.999961913), Vector3.new(10.2299871, 319.999939, 135.039978))
  5016. createWall(CFrame.new(-216.488495, 308.136475, -116.623718, 0.507538378, 0, 0.861629128, 0, 1, 0, -0.861629128, 0, 0.507538378), Vector3.new(14.2299871, 229.979904, 31.0399818))
  5017. createWall(CFrame.new(-180.638794, 263.126404, -276.830627, 0.995396197, 0, 0.0958457515, 0, 1, 0, -0.0958457515, 0, 0.995396197), Vector3.new(113.549988, 319.999939, 97.3899994))
  5018. createWall(CFrame.new(-54.6073608, 263.126404, 74.6437073, 0.891006529, 0, -0.453990489, 0, 1, 0, 0.453990489, 0, 0.891006529), Vector3.new(14.7299871, 319.999939, 115.449997))
  5019. createWall(CFrame.new(-37.863369, 263.126404, -4.13345909, 0.999961913, 0, -0.00872653536, 0, 1, 0, 0.00872653536, 0, 0.999961913), Vector3.new(10.2299871, 319.999939, 108.449997))
  5020. createWall(CFrame.new(-31.8706627, 263.126404, -72.4572144, 0.945518553, 0, -0.32556814, 0, 1, 0, 0.32556814, 0, 0.945518553), Vector3.new(10.2299871, 319.999939, 35.8099937))
  5021. createWall(CFrame.new(-7.3540988, 263.126404, -107.615921, 0.713250458, 0, -0.700909257, 0, 1, 0, 0.700909257, 0, 0.713250458), Vector3.new(10.2299871, 319.999939, 58.8699951))
  5022. createWall(CFrame.new(5.32070923, 263.126404, -181.679382, 0.999961913, 0, -0.00872653536, 0, 1, 0, 0.00872653536, 0, 0.999961913), Vector3.new(10.2299871, 319.999939, 135.039978))
  5023. createWall(CFrame.new(-23.2827835, 263.126404, -230.279099, 0.32556814, 0, 0.945518553, 0, 1, 0, -0.945518553, 0, 0.32556814), Vector3.new(29.2299881, 319.999939, 142.539978))
  5024. createWall(CFrame.new(-115.024994, 241.249969, -414.445007, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(190.049988, 2.49993896, 169.889999))
  5025. createWall(CFrame.new(-209.274994, 249.999969, -366.445007, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(3.54998779, 19.999939, 20.8899994))
  5026. createWall(CFrame.new(-109.024994, 252.035263, -308.551788, 1, 0, 0, 0, 0.906307757, 0.42261827, 0, -0.42261827, 0.906307757), Vector3.new(48.0499878, 1.99993896, 61.8899994))
  5027. createWall(CFrame.new(-109.024994, 268.374207, -263.68924, 1, 0, 0, 0, 0.974370062, 0.224951088, 0, -0.224951088, 0.974370062), Vector3.new(48.0499878, 2.49993896, 36.8899994))
  5028. createWall(CFrame.new(-109.024994, 270.498352, -240.767548, 1, 0, 0, 0, 0.9510566, -0.309016943, 0, 0.309016943, 0.9510566), Vector3.new(48.0499878, 2.49993896, 11.8899994))
  5029. createWall(CFrame.new(-114.774994, 255.249969, -85.0700073, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(232.549988, 30.499939, 309.140015))
  5030. createWall(CFrame.new(-53.2749939, 255.999969, -24.6950073, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(109.549988, 31.999939, 59.3900146))
  5031. createWall(CFrame.new(-28.5249939, 273.499969, 15.3049927, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(60.0499878, 66.999939, 139.390015))
  5032. createWall(CFrame.new(-80.7749939, 267.999969, 54.8049927, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(164.549988, 6.99993896, 23.3900146))
  5033. createWall(CFrame.new(-154.774994, 279.999969, 52.0549927, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(16.5499878, 30.999939, 28.8900146))
  5034. createWall(CFrame.new(-137.024994, 267.999969, 14.5549927, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(39.0499878, 6.99993896, 29.8900146))
  5035. createWall(CFrame.new(-167.024994, 267.749969, -113.406532, 0.866025388, 0, 0.5, 0, 1, 0, -0.5, 0, 0.866025388), Vector3.new(39.0499878, 6.49993896, 103.890015))
  5036. createWall(CFrame.new(-170.580597, 271.249969, -111.065025, 0.866025388, 0, 0.5, 0, 1, 0, -0.5, 0, 0.866025388), Vector3.new(24.5499878, 1.49993896, 92.3900146))
  5037. createWall(CFrame.new(-176.571625, 271.749969, -119.441788, 0.866025388, 0, 0.5, 0, 1, 0, -0.5, 0, 0.866025388), Vector3.new(15.5499878, 2.49993896, 63.8900146))
  5038. createWall(CFrame.new(-155.324982, 270.499908, -185.195007, 1, 0, 0, 0, 1, 0, 0, 0, 0.99999994), Vector3.new(35.5499878, 1.99993896, 36.3900146))
  5039. createWall(CFrame.new(-158.574982, 270.999908, -193.195007, 1, 0, 0, 0, 1, 0, 0, 0, 0.99999994), Vector3.new(21.0499878, 2.99993896, 16.3900146))
  5040. createWall(CFrame.new(-160.074982, 271.249908, -193.695007, 1, 0, 0, 0, 1, 0, 0, 0, 0.99999994), Vector3.new(10.0499878, 3.49993896, 7.39001465))
  5041. createWall(CFrame.new(-47.5749817, 270.499908, -162.195007, 1, 0, 0, 0, 1, 0, 0, 0, 0.99999994), Vector3.new(70.0499878, 1.99993896, 118.390015))
  5042. createWall(CFrame.new(-49.8249817, 270.999908, -181.695007, 1, 0, 0, 0, 1, 0, 0, 0, 0.99999994), Vector3.new(52.5499878, 2.99993896, 55.3900146))
  5043. createWall(CFrame.new(-141.574982, 287.499908, -233.195007, 1, 0, 0, 0, 1, 0, 0, 0, 0.99999994), Vector3.new(55.0499878, 35.999939, 15.3900146))
  5044. createWall(CFrame.new(-7.88667679, 275.376404, -116.717194, 0.999961913, 0, -0.0087265335, 0, 1, 0, 0.00872653536, 0, 0.999961793), Vector3.new(15.0499878, 22.499939, 30.8900146))
  5045. createWall(CFrame.new(-216.351822, 277.376404, -126.646851, 0.999961913, 0, -0.00872653257, 0, 1, 0, 0.0087265363, 0, 0.999961674), Vector3.new(15.0499878, 16.499939, 19.8900146))
  5046. createWall(CFrame.new(-220.909836, 275.376404, -219.818344, 0.995396256, 0, 0.0958457068, 0, 1, 0, -0.0958457515, 0, 0.99539578), Vector3.new(16.5499878, 13.499939, 8.39001465))
  5047. createWall(CFrame.new(-103.524994, 251.527222, 104.294586, 1, 0, 0, 0, 0.906307757, -0.42261827, 0, 0.42261827, 0.906307757), Vector3.new(99.0499878, 5.99993896, 78.8900146))
  5048. createWall(CFrame.new(-108.024994, 236.249969, 298.054993, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994), Vector3.new(245.049988, 4.49993896, 338.890015))
  5049. createWall(CFrame.new(-115.274994, 236.749969, 332.554993, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994), Vector3.new(39.5499878, 5.49993896, 40.8900146))
  5050. createWall(CFrame.new(-114.524994, 237.249969, 331.554993, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994), Vector3.new(24.0499878, 6.49993896, 21.8900146))
  5051. createWall(CFrame.new(-201.774994, 236.749969, 305.804993, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994), Vector3.new(59.5499878, 5.49993896, 149.390015))
  5052. createWall(CFrame.new(-206.274994, 259.249969, 305.054993, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994), Vector3.new(50.5499878, 50.499939, 148.890015))
  5053. createWall(CFrame.new(-195.774994, 236.749969, 253.054993, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994), Vector3.new(71.5499878, 5.49993896, 36.8900146))
  5054. createWall(CFrame.new(-201.024994, 237.249969, 251.054993, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994), Vector3.new(61.0499878, 6.49993896, 24.8900146))
  5055. createWall(CFrame.new(-60.7749939, 236.749969, 330.554993, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994), Vector3.new(47.5499878, 5.49993896, 44.8900146))
  5056. createWall(CFrame.new(-61.5249939, 237.249969, 331.554993, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994), Vector3.new(20.0499878, 6.49993896, 17.8900146))
  5057. createWall(CFrame.new(-29.0249939, 236.749969, 293.554993, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994), Vector3.new(30.0499878, 5.49993896, 32.8900146))
  5058. createWall(CFrame.new(-26.0249939, 237.249969, 293.804993, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994), Vector3.new(11.0499878, 6.49993896, 23.3900146))
  5059. createWall(CFrame.new(-16.2749939, 236.749969, 210.804993, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994), Vector3.new(35.5499878, 5.49993896, 34.3900146))
  5060. createWall(CFrame.new(-69.3916397, 236.499969, 184.50386, 0.96126169, 0, 0.275637299, 0, 0.999999821, 0, -0.275637329, 0, 0.961261511), Vector3.new(84.0499878, 4.99993896, 38.8900146))
  5061. createWall(CFrame.new(-66.1986313, 236.749969, 183.848358, 0.96126169, 0, 0.275637299, 0, 0.999999821, 0, -0.275637329, 0, 0.961261511), Vector3.new(57.5499878, 5.49993896, 30.3900146))
  5062. createWall(CFrame.new(-62.4224892, 236.999969, 182.505493, 0.96126169, 0, 0.275637299, 0, 0.999999821, 0, -0.275637329, 0, 0.961261511), Vector3.new(49.5499878, 5.99993896, 24.8900146))
  5063. createWall(CFrame.new(-63.9332924, 237.249969, 182.678635, 0.96126169, 0, 0.275637299, 0, 0.999999821, 0, -0.275637329, 0, 0.961261511), Vector3.new(29.5499878, 6.49993896, 19.3900146))
  5064. createWall(CFrame.new(-62.1821709, 237.499969, 182.436569, 0.96126169, 0, 0.275637299, 0, 0.999999821, 0, -0.275637329, 0, 0.961261511), Vector3.new(19.0499878, 6.99993896, 13.8900146))
  5065. createWall(CFrame.new(-103.524994, 238.727341, 132.97348, 1, 0, 0, 0, 0.965925813, -0.258819044, 0, 0.258819044, 0.965925813), Vector3.new(99.0499878, 9.49993896, 32.3900146))
  5066. createWall(CFrame.new(-130.324982, 238.999908, 150.914978, 1, 0, 0, 0, 0.999999881, -1.49011612e-08, 0, 0, 0.999999821), Vector3.new(45.5499878, 0.999940872, 19.3900146))
  5067. createWall(CFrame.new(-131.824982, 239.499908, 147.914978, 1, 0, 0, 0, 0.999999881, -1.49011612e-08, 0, 0, 0.999999821), Vector3.new(34.5499878, 1.99994087, 13.3900146))
  5068. createWall(CFrame.new(-134.824982, 239.749908, 145.914978, 1, 0, 0, 0, 0.999999881, -1.49011612e-08, 0, 0, 0.999999821), Vector3.new(22.5499878, 2.49994087, 9.39001465))
  5069. createWall(CFrame.new(-2.22501421, 269.749908, 145.414978, 0.999999881, 0, 2.98023224e-08, 0, 0.999999583, 0, 2.98023224e-08, 0, 0.999999583), Vector3.new(18.5499878, 62.499939, 21.3900146))
  5070. createWall(CFrame.new(-216.172623, 238.749939, 167.096695, 0.788009822, 0, -0.615660012, 0, 0.999997318, 0, 0.615660667, 0, 0.788008869), Vector3.new(18.5499878, 0.499946952, 55.3900146))
  5071. createWall(CFrame.new(-217.157623, 238.999939, 166.327118, 0.788009822, 0, -0.615660012, 0, 0.999997318, 0, 0.615660667, 0, 0.788008869), Vector3.new(16.0499878, 0.999946952, 55.3900146))
  5072. createWall(CFrame.new(-217.748642, 239.249939, 165.865372, 0.788009822, 0, -0.615660012, 0, 0.999997318, 0, 0.615660667, 0, 0.788008869), Vector3.new(14.5499878, 1.49994695, 55.3900146))
  5073. createWall(CFrame.new(-205.281525, 241.749939, 149.908188, 0.788009822, 0, -0.615660012, 0, 0.999997318, 0, 0.615660667, 0, 0.788008869), Vector3.new(14.5499878, 6.49994707, 14.8900146))
  5074. createWall(CFrame.new(-176.024994, 236.499969, 425.554993, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994), Vector3.new(26.0499878, 4.99993896, 46.8900146))
  5075. createWall(CFrame.new(-177.524994, 236.749969, 425.054993, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994), Vector3.new(23.0499878, 5.49993896, 43.8900146))
  5076. createWall(CFrame.new(-178.774994, 237.249969, 425.804993, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994), Vector3.new(20.5499878, 6.49993896, 38.3900146))
  5077. createWall(CFrame.new(-180.774994, 237.499969, 429.054993, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994), Vector3.new(16.5499878, 6.99993896, 24.8900146))
  5078. createWall(CFrame.new(-181.774994, 237.999969, 430.304993, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994), Vector3.new(14.5499878, 7.99993896, 18.3900146))
  5079. createWall(CFrame.new(-124.774994, 236.499969, 415.804993, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994), Vector3.new(15.5499878, 4.99993896, 38.3900146))
  5080. createWall(CFrame.new(-123.524994, 236.749969, 416.554993, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994), Vector3.new(13.0499878, 5.49993896, 25.8900146))
  5081. createWall(CFrame.new(-121.774994, 236.999969, 416.304993, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994), Vector3.new(9.54998779, 5.99993896, 19.3900146))
  5082. createWall(CFrame.new(-89.5749817, 280.749908, -237.695007, 1, 0, 0, 0, 1, 0, 0, 0, 0.99999994), Vector3.new(7.04998779, 22.499939, 6.39001465))
  5083. createWall(CFrame.new(-50.7568512, 263.126404, -284.197937, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(82.5499878, 319.999939, 92.3899994))
  5084. createWall(CFrame.new(-84.7568512, 263.126404, -250.447937, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(21.5499878, 319.999939, 24.8899994))
  5085. createWall(CFrame.new(-20.2568512, 263.126404, -418.197937, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(4.54998779, 319.999939, 181.389999))
  5086. createWall(CFrame.new(-212.506851, 263.126404, -418.197937, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(13.0499878, 319.999939, 181.389999))
  5087. createWall(CFrame.new(-168.256851, 263.126404, -328.947937, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(79.5499878, 319.999939, 2.88999939))
  5088. createWall(CFrame.new(-163.006851, 263.126404, -572.947937, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(90.0499878, 319.999939, 150.889999))
  5089. createWall(CFrame.new(-53.5068512, 263.126404, -534.947937, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(71.0499878, 319.999939, 74.8899994))
  5090. createWall(CFrame.new(-75.8494415, 263.126404, -590.692261, -0.258819044, 0, -0.965925753, 0, 1, 0, 0.965925753, 0, -0.258819044), Vector3.new(50.5499878, 319.999939, 10.3899994))
  5091. createWall(CFrame.new(-47.9917145, 263.126404, -617.715088, -0.898792207, 0, -0.43836987, 0, 1, 0, 0.43836987, 0, -0.898792207), Vector3.new(50.5499878, 319.999939, 10.3899994))
  5092. createWall(CFrame.new(-5.61179876, 263.126404, -643.846008, -0.798630357, 0, -0.601810753, 0, 1, 0, 0.601810753, 0, -0.798630357), Vector3.new(50.5499878, 319.999939, 10.3899994))
  5093. createWall(CFrame.new(21.596756, 263.126404, -678.58075, -0.390731424, 0, -0.920504749, 0, 1, 0, 0.920504749, 0, -0.390731424), Vector3.new(48.5499878, 319.999939, 12.3899994))
  5094. createWall(CFrame.new(32.232254, 263.126404, -711.717529, -0.224951372, 0, -0.974370062, 0, 1, 0, 0.974370062, 0, -0.224951372), Vector3.new(33.5499878, 319.999939, 17.8899994))
  5095. createWall(CFrame.new(-91.2977295, 250.376404, -663.801025, 0.882947803, 0, 0.469471604, 0, 1, 0, -0.469471604, 0, 0.882947803), Vector3.new(121.049988, 76.499939, 17.8899994))
  5096. createWall(CFrame.new(-35.862896, 250.376404, -706.077393, 0.374607325, 0, 0.927185595, 0, 1, 0, -0.927185595, 0, 0.374607325), Vector3.new(38.5499878, 76.499939, 17.8899994))
  5097. createWall(CFrame.new(-36.112896, 250.376404, -724.327393, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(24.0499878, 76.499939, 7.38999939))
  5098. createWall(CFrame.new(46.887104, 250.376404, -749.077393, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(5.04998779, 76.499939, 56.8899994))
  5099. createWall(CFrame.new(35.387104, 250.376404, -795.827393, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(28.0499878, 76.499939, 47.3899994))
  5100. createWall(CFrame.new(-37.862896, 250.376404, -787.827393, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(27.5499878, 76.499939, 38.3899994))
  5101. createWall(CFrame.new(-48.362896, 250.376404, -748.077393, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(6.54998779, 76.499939, 42.8899994))
  5102. createWall(CFrame.new(-38.4214478, 250.376404, -825.885254, 0.882947505, 0, 0.469471455, 0, 1, 0, -0.469471455, 0, 0.882947505), Vector3.new(6.04998779, 76.499939, 47.8899994))
  5103. createWall(CFrame.new(1.74190998, 250.376404, -838.746277, 0.882947505, 0, 0.469471455, 0, 1, 0, -0.469471455, 0, 0.882947505), Vector3.new(14.0499878, 76.499939, 120.889999))
  5104. createWall(CFrame.new(-78.6714478, 250.376404, -824.135254, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(58.5499878, 76.499939, 44.3899994))
  5105. createWall(CFrame.new(-180.171448, 250.376404, -824.135254, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(120.549988, 76.499939, 44.3899994))
  5106. createWall(CFrame.new(-187.421448, 250.376404, -892.635254, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(95.0499878, 76.499939, 13.3899994))
  5107. createWall(CFrame.new(-114.421448, 250.376404, -892.635254, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(25.0499878, 76.499939, 13.3899994))
  5108. createWall(CFrame.new(-58.4214478, 250.376404, -892.635254, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(55.0499878, 76.499939, 13.3899994))
  5109. createWall(CFrame.new(-32.5747032, 250.376404, -881.752502, 0.866025448, 0, -0.5, 0, 1, 0, 0.5, 0, 0.866025448), Vector3.new(48.5499878, 76.499939, 13.3899994))
  5110. createWall(CFrame.new(-123.171448, 250.376404, -901.135254, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(80.5499878, 76.499939, 0.38999939))
  5111. createWall(CFrame.new(-140.421448, 250.376404, -897.885254, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(46.0499878, 76.499939, 6.88999939))
  5112. createWall(CFrame.new(-116.171448, 250.376404, -828.635254, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(28.5499878, 76.499939, 10.3899994))
  5113. createWall(CFrame.new(-530.105103, 279.979858, -1092.07043, 0.999390841, 0, -0.0348994955, 0, 1, 0, 0.0348994955, 0, 0.999390841), Vector3.new(66.3700256, 165.859863, 74.1800003))
  5114. createWall(CFrame.new(-434.260559, 279.979858, -1090.26013, 0.999390841, 0, -0.0348994955, 0, 1, 0, 0.0348994955, 0, 0.999390841), Vector3.new(66.3700256, 165.859863, 75.3499756))
  5115. createWall(CFrame.new(-623.851563, 279.979858, -1429.71814, -0.719339788, -6.28866843e-08, 0.694658399, -1.48151742e-07, 1, -6.28866843e-08, -0.694658399, -1.48151742e-07, -0.719339788), Vector3.new(159.419998, 165.859863, 17.4799919))
  5116. createWall(CFrame.new(-587.972534, 279.979858, -1466.33179, -0.719339788, -6.28866843e-08, 0.694658399, -1.48151742e-07, 1, -6.28866843e-08, -0.694658399, -1.48151742e-07, -0.719339788), Vector3.new(160.169998, 165.859863, 44.1299934))
  5117. createWall(CFrame.new(-510.793091, 279.979858, -1412.05334, -0.91354543, -7.98646766e-08, 0.406736642, -1.22980822e-07, 1, -7.98646766e-08, -0.406736642, -1.22980822e-07, -0.91354543), Vector3.new(149.439972, 165.859863, 22.9799919))
  5118. createWall(CFrame.new(-471.971405, 279.979858, -1355.68689, -0.0174523834, -1.52573587e-09, 0.99984771, -1.74832238e-07, 1, -1.52573587e-09, -0.99984771, -1.74832238e-07, -0.0174523834), Vector3.new(145.919983, 165.859863, 19.7599926))
  5119. createWall(CFrame.new(-585.297424, 279.979858, -1324.81335, -0.182235524, -1.59315352e-08, 0.98325491, -1.7338165e-07, 1, -1.59315352e-08, -0.98325491, -1.7338165e-07, -0.182235524), Vector3.new(128.960007, 165.859863, 42.9799919))
  5120. createWall(CFrame.new(-588.963806, 279.979858, -1300.72192, 0.999390841, 0, -0.0348994955, 0, 1, 0, 0.0348994955, 0, 0.999390841), Vector3.new(142.960007, 165.859863, 17.4799919))
  5121. createWall(CFrame.new(-703.672302, 279.979858, -1446.30786, -0.669130564, -5.84972533e-08, -0.74314487, -2.24549908e-08, 1, -5.84972533e-08, 0.74314487, -2.24549908e-08, -0.669130564), Vector3.new(69.8000183, 165.859863, 17.4799919))
  5122. createWall(CFrame.new(-756.852478, 279.979858, -1402.3075, -0.870355666, -7.60889094e-08, -0.492423564, -4.4373742e-08, 1, -7.60889094e-08, 0.492423564, -4.4373742e-08, -0.870355666), Vector3.new(69.8000183, 165.859863, 17.4799919))
  5123. createWall(CFrame.new(-797.608215, 279.979858, -1387.88354, -0.996917307, -8.71532819e-08, -0.0784590989, -8.0563666e-08, 1, -8.71532819e-08, 0.0784590989, -8.0563666e-08, -0.996917307), Vector3.new(55.3900223, 165.859863, 17.4799919))
  5124. createWall(CFrame.new(-820.038269, 279.979858, -1385.85034, -0.662620068, -5.79280872e-08, 0.748955727, -1.52898565e-07, 1, -5.79280872e-08, -0.748955727, -1.52898565e-07, -0.662620068), Vector3.new(82.0700302, 165.859863, 17.4799919))
  5125. createWall(CFrame.new(-841.949463, 279.979858, -1427.98669, 0.078459084, 0, -0.996917307, 0, 1, 0, 0.996917307, 0, 0.078459084), Vector3.new(55.3900223, 165.859863, 17.4799919))
  5126. createWall(CFrame.new(-834.237122, 279.979858, -1469.92981, -0.42261824, -3.69464601e-08, -0.906307817, -8.19083112e-09, 1, -3.69464601e-08, 0.906307817, -8.19083112e-09, -0.42261824), Vector3.new(86.6100311, 165.859863, 17.4799919))
  5127. createWall(CFrame.new(-767.177551, 279.979858, -1564.18726, -0.656059027, -5.73545016e-08, -0.754709542, -2.14439737e-08, 1, -5.73545016e-08, 0.754709542, -2.14439737e-08, -0.656059027), Vector3.new(160.029999, 165.859863, 17.4799919))
  5128. createWall(CFrame.new(-720.77832, 279.979858, -1597.55005, -0.656059027, -5.73545016e-08, -0.754709542, -2.14439737e-08, 1, -5.73545016e-08, 0.754709542, -2.14439737e-08, -0.656059027), Vector3.new(57.8500061, 165.859863, 43.7400017))
  5129. createWall(CFrame.new(-650.672546, 279.979858, -1540.46497, -0.656059027, -5.73545016e-08, -0.754709542, -2.14439737e-08, 1, -5.73545016e-08, 0.754709542, -2.14439737e-08, -0.656059027), Vector3.new(57.8500061, 165.859863, 43.7400017))
  5130. createWall(CFrame.new(-686.894653, 279.979858, -1577.92639, -0.656059027, -5.73545016e-08, -0.754709542, -2.14439737e-08, 1, -5.73545016e-08, 0.754709542, -2.14439737e-08, -0.656059027), Vector3.new(57.8500061, 165.859863, 63.2200089))
  5131. createWall(CFrame.new(-773.282104, 285.979858, -1474.0929, -0.669130683, 0, -0.74314481, 0, 1, 0, 0.74314481, 0, -0.669130683), Vector3.new(214.029999, 2.85986328, 126.479996))
  5132. createWall(CFrame.new(-613.74707, 269.706024, -1446.57446, -0.694678783, 0.11874482, -0.709454238, -4.41642478e-05, 0.986274898, 0.165120974, 0.71931982, 0.114737399, -0.685142875), Vector3.new(22.5299988, 5.10986328, 165.479996))
  5133. createWall(CFrame.new(-527.871521, 279.979858, -1234.82935, 0.999390841, 0, -0.0348994955, 0, 1, 0, 0.0348994955, 0, 0.999390841), Vector3.new(60.8700256, 165.859863, 61.6799927))
  5134. createWall(CFrame.new(-558.849976, 279.979858, -1109.59131, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(1.87002563, 165.859863, 191.179993))
  5135. createWall(CFrame.new(-417.599976, 279.979858, -1110.34131, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(1.37002563, 165.859863, 189.679993))
  5136. createWall(CFrame.new(-431.140198, 279.979858, -1251.24927, 0.999390841, 0, -0.0348994955, 0, 1, 0, 0.0348994955, 0, 0.999390841), Vector3.new(71.3700256, 165.859863, 93.3499756))
  5137. createWall(CFrame.new(-494.599976, 243.729858, -1086.84131, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(161.370026, 29.3598633, 664.679993))
  5138. createWall(CFrame.new(-439.099976, 279.979858, -970.341309, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(50.3700256, 165.859863, 95.6799927))
  5139. createWall(CFrame.new(-536.349976, 279.979858, -973.341309, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(68.8700256, 165.859863, 89.6799927))
  5140. createWall(CFrame.new(-528.849976, 305.979858, -872.341309, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(83.8700256, 113.859863, 132.679993))
  5141. createWall(CFrame.new(-522.703003, 305.979858, -802.900574, 0.965925813, 0, 0.258819044, 0, 1, 0, -0.258819044, 0, 0.965925813), Vector3.new(83.8700256, 113.859863, 87.1799927))
  5142. createWall(CFrame.new(-510.382385, 305.979858, -783.183533, 0.848048031, 0, 0.529919267, 0, 1, 0, -0.529919267, 0, 0.848048031), Vector3.new(83.8700256, 113.859863, 133.679993))
  5143. createWall(CFrame.new(-498.169495, 305.979858, -768.628662, 0.766044259, 0, 0.642787516, 0, 1, 0, -0.642787516, 0, 0.766044259), Vector3.new(83.8700256, 113.859863, 171.679993))
  5144. createWall(CFrame.new(-483.661346, 305.979858, -758.842712, 0.559192538, 0, 0.82903707, 0, 1, 0, -0.82903707, 0, 0.559192538), Vector3.new(83.8700256, 113.859863, 206.679993))
  5145. createWall(CFrame.new(-364.621796, 305.979858, -708.448608, 0.0174524225, 0, 0.99984771, 0, 1, 0, -0.99984771, 0, 0.0174524225), Vector3.new(83.8700256, 113.859863, 116.679993))
  5146. createWall(CFrame.new(-340.879913, 305.979858, -765.881897, -0.453990519, 0, 0.891006529, 0, 1, 0, -0.891006529, 0, -0.453990519), Vector3.new(8.37002563, 113.859863, 168.179993))
  5147. createWall(CFrame.new(-329.829071, 295.979858, -781.740417, -0.766044497, 0, 0.642787576, 0, 1, 0, -0.642787576, 0, -0.766044497), Vector3.new(7.37002563, 133.859863, 194.179993))
  5148. createWall(CFrame.new(-474.099976, 244.229858, -797.341309, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(257.370026, 30.3598633, 85.6799927))
  5149. createWall(CFrame.new(-523.349976, 305.979858, -827.341309, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(94.8700256, 113.859863, 42.6799927))
  5150. createWall(CFrame.new(-475.599976, 244.729858, -791.841309, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(254.370026, 31.3598633, 74.6799927))
  5151. createWall(CFrame.new(-477.599976, 245.229858, -787.341309, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(250.370026, 32.3598633, 65.6799927))
  5152. createWall(CFrame.new(-478.599976, 245.479858, -784.341309, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(248.370026, 32.8598633, 59.6799927))
  5153. createWall(CFrame.new(-478.599976, 245.729858, -781.841309, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(248.370026, 33.3598633, 54.6799927))
  5154. createWall(CFrame.new(-439.849976, 272.229858, -883.341309, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(51.8700256, 86.3598633, 123.679993))
  5155. createWall(CFrame.new(-379.849976, 272.229858, -832.841309, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(68.8700256, 86.3598633, 19.6799927))
  5156. createWall(CFrame.new(-325.158051, 241.062012, -822.414978, 0.789027095, 0.334922045, 0.515037596, -0.390731275, 0.920504749, 4.84287739e-08, -0.474095762, -0.201241508, 0.857167423), Vector3.new(9.37002563, 14.8598633, 8.17999268))
  5157. createWall(CFrame.new(-345.652191, 245.233566, -781.809937, 0.850778162, 0.104462422, 0.515038013, -0.121869348, 0.992546141, 0, -0.511199117, -0.0627673566, 0.857167304), Vector3.new(31.3700256, 33.3598633, 54.6799927))
  5158. createWall(CFrame.new(-345.599976, 272.229858, -831.341309, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(0.370025635, 86.3598633, 22.6799927))
  5159. createWall(CFrame.new(-341.921783, 249.663269, -835.159546, 0.848048091, 0, 0.529919267, 0, 1, 0, -0.529919267, 0, 0.848048091), Vector3.new(29.3700256, 76.8598633, 32.1799927))
  5160. createWall(CFrame.new(-320.835754, 230.047226, -824.571289, 0.776302516, 0.0652871206, 0.626969218, -0.284233958, 0.92402339, 0.255714566, -0.562643945, -0.37671876, 0.735880792), Vector3.new(52.3700256, 31.3598633, 95.6799927))
  5161. createWall(CFrame.new(-289.109406, 220.88858, -848.419983, 0.778962135, 0.0109720025, 0.626974881, -0.219083488, 0.941601098, 0.255714387, -0.587554574, -0.336551666, 0.735875428), Vector3.new(50.8700256, 30.8598633, 95.6799927))
  5162. createWall(CFrame.new(-89.6850128, 249.173721, -513.710205, 1, 0, 0, 0, 0.994521797, 0.104528457, 0, -0.104528457, 0.994521797), Vector3.new(5.37002563, 16.8598633, 30.6799927))
  5163. createWall(CFrame.new(-510.848236, 279.979858, -1284.52026, 0.798635483, 0, 0.601814926, 0, 1, 0, -0.601814926, 0, 0.798635483), Vector3.new(12.8700256, 165.859863, 39.6799927))
  5164. createWall(CFrame.new(-510.486816, 279.979858, -1279.47107, 0.798635483, 0, 0.601814926, 0, 1, 0, -0.601814926, 0, 0.798635483), Vector3.new(7.37002563, 165.859863, 42.1799927))
  5165. createWall(CFrame.new(-512.099976, 273.589722, -1203.34131, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(15.3700256, 30.3598633, 9.67999268))
  5166. createWall(CFrame.new(-450.099976, 273.589722, -1203.34131, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(20.3700256, 30.3598633, 9.67999268))
  5167. createWall(CFrame.new(-294.008087, 223.338501, -850.775452, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(25.3700256, 23.8598633, 15.1799927))
  5168. createWall(CFrame.new(-328.758087, 223.338501, -860.025452, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(18.8700256, 23.8598633, 7.67999268))
  5169. createWall(CFrame.new(-33.4668579, 239.946518, -446.482941, 1, 0, 0, 0, 0.999999762, 0, 0, 0, 0.999999762), Vector3.new(21.8700256, 7.35986328, 26.1799927))
  5170. createWall(CFrame.new(-24.9668579, 249.946518, -446.232941, 1, 0, 0, 0, 0.999999762, 0, 0, 0, 0.999999762), Vector3.new(4.87002563, 27.3598633, 20.6799927))
  5171. createWall(CFrame.new(-327.824738, 237.437775, -801.812622, 0.762220681, 0.371759921, 0.529919147, -0.438371092, 0.898793995, 1.49011612e-08, -0.476288557, -0.232301384, 0.84804821), Vector3.new(27.8700256, 31.8598633, 64.6799927))
  5172. createWall(CFrame.new(-336.758087, 222.838501, -903.525452, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(159.870026, 22.8598633, 147.679993))
  5173. createWall(CFrame.new(-339.008087, 269.588501, -954.775452, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(164.370026, 116.359863, 45.1799927))
  5174. createWall(CFrame.new(-271.008087, 243.088501, -925.025452, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(28.3700256, 63.3598633, 104.679993))
  5175. createWall(CFrame.new(-399.008087, 223.338501, -934.775452, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(35.3700256, 23.8598633, 85.1799927))
  5176. createWall(CFrame.new(-165.758087, 222.838501, -867.025452, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(197.870026, 22.8598633, 69.6799927))
  5177. createWall(CFrame.new(-253.171448, 250.376404, -830.885254, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(38.5499878, 76.499939, 57.8899994))
  5178. createWall(CFrame.new(-253.171448, 250.376404, -883.635254, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(38.5499878, 76.499939, 21.3899994))
  5179. createWall(CFrame.new(-483.418579, 267.041748, -1068.15332, -0.999052703, -0.0155198928, 0.040654961, 5.86081296e-06, 0.934192657, 0.356768906, -0.04351658, 0.356431216, -0.933307588), Vector3.new(31.6913509, 2.7721417, 4.24422979))
  5180. createWall(CFrame.new(-483.981842, 260.92804, -1055.25232, -0.999047458, -0.0207527075, 0.0383878089, 9.14558768e-07, 0.879672229, 0.475580454, -0.0436382741, 0.475127459, -0.878834188), Vector3.new(31.6913509, 2.74081826, 18.896841))
  5181. createWall(CFrame.new(-483.538757, 266.034851, -1065.40332, -0.999046981, -0.0144734327, 0.0411781222, 2.83131376e-05, 0.943206012, 0.332208306, -0.0436476469, 0.331892908, -0.942306757), Vector3.new(31.6913509, 2.76432514, 4.3225441))
  5182. createWall(CFrame.new(-481.38623, 266.034943, -1114.70557, 0.999046981, 0.0144734401, -0.0411781222, 2.83066183e-05, 0.943206012, 0.332208335, 0.0436476506, -0.331892937, 0.942306757), Vector3.new(31.6913509, 2.76432514, 4.3225441))
  5183. createWall(CFrame.new(-480.943359, 260.928314, -1124.85657, 0.999047458, 0.0207526181, -0.0383878089, 9.90927219e-07, 0.879672289, 0.475580454, 0.0436382294, -0.475127459, 0.878834248), Vector3.new(31.6913509, 2.74081826, 18.896841))
  5184. createWall(CFrame.new(-482.463654, 268.856995, -1090.03271, 0.999048233, 0, -0.0436193869, 0, 1, 0, 0.0436193869, 0, 0.999048233), Vector3.new(31.6913509, 2.74081826, 23.9508228))
  5185. createWall(CFrame.new(-481.854034, 268.718964, -1104.005, 0.999045253, 0.00244113314, -0.0436193869, -7.33807683e-05, 0.99853003, 0.0542014502, 0.0436875783, -0.0541465022, 0.997576892), Vector3.new(31.6913509, 2.74081826, 4.3225441))
  5186. createWall(CFrame.new(-483.248901, 268.208527, -1072.04712, -0.999044776, -0.00906737149, 0.0427475348, 9.39015299e-05, 0.977787733, 0.209597498, -0.043698512, 0.209401295, -0.976852834), Vector3.new(31.6913509, 2.74081826, 4.3225441))
  5187. createWall(CFrame.new(-481.506134, 267.04184, -1111.95569, 0.999052703, 0.0155199626, -0.040654961, 5.79282641e-06, 0.934192657, 0.356768847, 0.0435166061, -0.356431156, 0.933307588), Vector3.new(31.6913509, 2.7721417, 4.24422979))
  5188. createWall(CFrame.new(-481.676361, 268.208527, -1108.06177, 0.999044776, 0.00906729046, -0.0427475348, 9.39778984e-05, 0.977787733, 0.209597453, 0.0436984971, -0.20940125, 0.976852894), Vector3.new(31.6913509, 2.74081826, 4.3225441))
  5189. createWall(CFrame.new(-483.071716, 268.719055, -1076.10388, -0.999045253, -0.00244113663, 0.0436193869, -7.33849593e-05, 0.99853003, 0.0542014316, -0.0436875783, 0.0541464835, -0.997576892), Vector3.new(31.6913509, 2.74081826, 4.3225441))
  5190. createWall(CFrame.new(-483.349976, 244.229858, -1089.84131, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(39.8700256, 30.3598633, 91.6799927))
  5191. createWall(CFrame.new(-367.75824, 249.663269, -845.841492, 0.848048091, 0, 0.529919267, 0, 1, 0, -0.529919267, 0, 0.848048091), Vector3.new(34.8700256, 76.8598633, 13.6799927))
  5192. createWall(CFrame.new(-43.2580872, 223.338501, -867.025452, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(50.8700256, 23.8598633, 69.6799927))
  5193. createWall(CFrame.new(-40.5080872, 223.838501, -867.025452, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(47.3700256, 24.8598633, 69.6799927))
  5194. createWall(CFrame.new(4.49191284, 224.838501, -762.025452, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(99.3700256, 26.8598633, 124.679993))
  5195. createWall(CFrame.new(-25.2580872, 224.338501, -852.025452, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(36.8700256, 25.8598633, 55.6799927))
  5196. createWall(CFrame.new(-37.7580872, 237.588501, -825.775452, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(11.8700256, 52.3598633, 22.1799927))
  5197. createWall(CFrame.new(10.7419128, 224.838501, -837.275452, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(86.8700256, 26.8598633, 50.1799927))
  5198. createWall(CFrame.new(4.49191284, 224.338501, -703.525452, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(99.3700256, 25.8598633, 15.6799927))
  5199. createWall(CFrame.new(4.49191284, 223.838501, -701.525452, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(99.3700256, 24.8598633, 19.6799927))
  5200. createWall(CFrame.new(8.24191284, 223.338501, -667.775452, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(91.8700256, 23.8598633, 87.1799927))
  5201. createWall(CFrame.new(-32.2580872, 223.088501, -637.275452, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(172.870026, 23.3598633, 148.179993))
  5202. createWall(CFrame.new(-115.024994, 237.18399, -535.179443, 1, 0, 0, 0, 0.994521797, 0.104528457, 0, -0.104528457, 0.994521797), Vector3.new(190.049988, 2.49993896, 75.8899994))
  5203. createWall(CFrame.new(-110.508087, 223.338501, -580.775452, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(16.3700256, 23.8598633, 35.1799927))
  5204. createWall(CFrame.new(14.4349861, 247.448364, -670.319519, 0.874619722, 0, -0.484809607, 0, 1, 0, 0.484809607, 0, 0.874619722), Vector3.new(16.8700256, 24.3598633, 64.1799927))
  5205. createWall(CFrame.new(-114.508087, 246.948364, -651.275452, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(13.3700256, 24.3598633, 42.1799927))
  5206. createWall(CFrame.new(-327.09436, 240.060562, -797.918823, 0.789027095, 0.334922045, 0.515037596, -0.390731275, 0.920504749, 4.84287739e-08, -0.474095762, -0.201241508, 0.857167423), Vector3.new(29.8700256, 28.8598633, 63.1799927))
  5207. createWall(CFrame.new(-664.139648, 282.215668, -1495.0968, -0.691134691, 0.299709588, -0.657652676, 0, 0.909961283, 0.414693236, 0.722725987, 0.286608875, -0.628905833), Vector3.new(25.5299988, 5.60986328, 12.4799957))
  5208. wait(.1)
  5209. game:GetService("Workspace").dungeon.room5["barrier"]:Destroy()
  5210. if _G.destroy_map then
  5211. --workspace.Terrain:Clear()
  5212. for i,v in pairs(workspace:GetChildren()) do
  5213. if v.ClassName == "Model" or v.ClassName == "Part" or v.ClassName == "UnionOperation" or v.ClassName == "WedgePart" then
  5214. if v ~= game.Players.LocalPlayer.Character and v.Name ~= regionPartName then
  5215. v:Destroy()
  5216. end
  5217. end
  5218. end
  5219. end
  5220.  
  5221. while not game:GetService("Workspace").dungeon.room5.enemyFolder:FindFirstChild("Spider Queen") do -- wait for spider boss to spawn
  5222. wait(1)
  5223. end
  5224. while not game:GetService("Workspace").dungeon.room5.enemyFolder:FindFirstChild("Spider Queen"):FindFirstChild("HumanoidRootPart") do
  5225. wait(1)
  5226. end
  5227. local objPart = createWall(CFrame.new(-198.633, 235.589, -866.15), Vector3.new(3.62, 2.86, 4.93))
  5228. objPart.CanCollide = false
  5229. objectiveExists = true
  5230. objectiveObject = objPart
  5231. while wait(1) do
  5232. local _,_,_,root = getPlayer()
  5233. if getMag(root.Position, objPart.Position) < 5 then break end
  5234. end
  5235. objectiveExists = false
  5236. objectiveObject = nil
  5237. end
  5238.  
  5239. function kingFix()
  5240. _G.smallTeleports = true
  5241. _G.teleportDuringBossOnly = true
  5242. createWall(CFrame.new(-265.670135, 39.9012566, 821.916565, 0.267238349, 0, 0.963630438, 0, 1, 0, -0.963630438, 0, 0.267238349), Vector3.new(205.490036, 121.409996, 83.2699738))
  5243. createWall(CFrame.new(-84.1567535, 39.9012566, 206.857864, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(7.70991707, 121.409996, 20.2999802))
  5244. createWall(CFrame.new(-87.2210388, 39.9012566, 185.695068, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(7.70991707, 121.409996, 38.0599823))
  5245. createWall(CFrame.new(30.827137, 50.6512566, 315.457825, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(224.909897, 99.909996, 40.819973))
  5246. createWall(CFrame.new(-201.965851, 39.9012566, 538.666504, 0.999657333, 0, 0.02617695, 0, 1, 0, -0.02617695, 0, 0.999657333), Vector3.new(182.820007, 121.409996, 128.269974))
  5247. createWall(CFrame.new(-241.969254, 39.9012566, 610.253235, -0.0261769947, -2.28846564e-09, 0.999657333, -1.74815597e-07, 1, -2.28846564e-09, -0.999657333, -1.74815597e-07, -0.0261769947), Vector3.new(251.470016, 121.409996, 81.7699738))
  5248. createWall(CFrame.new(-13.5106697, 61.6240005, -82.0305099, 0.0261769947, 0, -0.999657333, 0, 1, 0, 0.999657333, 0, 0.0261769947), Vector3.new(60.3699608, 70.859993, 81.8800201))
  5249. createWall(CFrame.new(59.8843384, 39.9012566, 206.815186, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(29.4499016, 121.409996, 7.64001656))
  5250. createWall(CFrame.new(-52.9094086, 39.9012566, 315.457825, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(224.909897, 121.409996, 40.819973))
  5251. createWall(CFrame.new(74.1219025, 39.9012527, 575.307129, -0.999390841, -8.73695214e-08, -0.0348994955, -8.43717629e-08, 1, -8.73695214e-08, 0.0348994955, -8.43717629e-08, -0.999390841), Vector3.new(125.539993, 121.409996, 237.639999))
  5252. createWall(CFrame.new(37.6457291, 39.9012566, 151.17514, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(62.3399086, 121.409996, 43.2400017))
  5253. createWall(CFrame.new(0.196162999, 65.1762543, 441.391022, 0.0261769947, 0, -0.999657333, 0, 1, 0, 0.999657333, 0, 0.0261769947), Vector3.new(62.0499763, 70.859993, 81.8800201))
  5254. createWall(CFrame.new(-55.767437, 39.9012566, 12.0568619, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), Vector3.new(242.48996, 121.409996, 43.2400017))
  5255. createWall(CFrame.new(31.8941364, 39.9012566, 16.1985588, 0.0174523834, 0, 0.99984771, 0, 1, 0, -0.99984771, 0, 0.0174523834), Vector3.new(234.210022, 121.409996, 43.2400017))
  5256. createWall(CFrame.new(-7.2978816, 63.2866745, 155.216705, 0.0261769947, 0, -0.999657333, 0, 1, 0, 0.999657333, 0, 0.0261769947), Vector3.new(62.0499763, 68.6600037, 81.8800201))
  5257. createWall(CFrame.new(66.2143402, 39.9012566, 170.095139, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(16.7899017, 121.409996, 81.0800095))
  5258. createWall(CFrame.new(-108.321632, 39.9012566, 444.232849, 0.0261769947, 0, -0.999657333, 0, 1, 0, 0.999657333, 0, 0.0261769947), Vector3.new(62.0499763, 121.409996, 155.169968))
  5259. createWall(CFrame.new(84.8040543, 39.9012566, 451.600067, 0.0348994955, 0, -0.999390841, 0, 1, 0, 0.999390841, 0, 0.0348994955), Vector3.new(62.0499763, 121.409996, 155.169968))
  5260. createWall(CFrame.new(97.8463821, 39.9012566, 665.138977, -0.0348994955, -3.05101078e-09, 0.999390841, -1.74792291e-07, 1, -3.05101078e-09, -0.999390841, -1.74792291e-07, -0.0348994955), Vector3.new(19.5399895, 121.409996, 56.4300117))
  5261. createWall(CFrame.new(46.9567528, 39.9012566, 674.57135, -0.366501212, -3.20405533e-08, 0.930417597, -1.68762469e-07, 1, -3.20405533e-08, -0.930417597, -1.68762469e-07, -0.366501212), Vector3.new(19.5399895, 121.409996, 56.4300117))
  5262. createWall(CFrame.new(-34.3111458, 39.9012566, 725.983276, -0.719339788, -6.28866843e-08, 0.694658399, -1.48151742e-07, 1, -6.28866843e-08, -0.694658399, -1.48151742e-07, -0.719339788), Vector3.new(42.0399895, 121.409996, 197.409988))
  5263. createWall(CFrame.new(-112.350136, 39.9012566, 837.091858, -0.965925813, -8.44439185e-08, 0.258819044, -1.10049456e-07, 1, -8.44439185e-08, -0.258819044, -1.10049456e-07, -0.965925813), Vector3.new(40.0399895, 121.409996, 103.629967))
  5264. createWall(CFrame.new(-139.625366, 39.9012566, 961.8349, -0.968147635, -8.46381525e-08, 0.250380009, -1.09311692e-07, 1, -8.46381525e-08, -0.250380009, -1.09311692e-07, -0.968147635), Vector3.new(47.8199997, 121.409996, 187.62999))
  5265. createWall(CFrame.new(-200.630081, 65.554451, 1018.6449, -2.18195708e-18, -8.74227837e-08, 1.00000024, -8.74227695e-08, 1, 8.74227837e-08, -1.00000024, -8.74227979e-08, 7.6405599e-15), Vector3.new(60.8199997, 121.409996, 125.489998))
  5266. createWall(CFrame.new(-230.756363, 39.9012566, 1027.81616, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(40.8199997, 121.409996, 136.48999))
  5267. createWall(CFrame.new(-253.298645, 39.9012566, 919.571655, 0.902585268, 0, 0.430511087, 0, 1, 0, -0.430511087, 0, 0.902585268), Vector3.new(43.3199997, 121.409996, 114.269997))
  5268. createWall(CFrame.new(-59.9060516, 39.9012566, 151.17514, 1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3.new(62.3399086, 121.409996, 43.2400017))
  5269. createWall(CFrame.new(37.8478165, 16.8362617, -190.005951, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), Vector3.new(16.16996, 75.2800064, 17.949995))
  5270. createWall(CFrame.new(43.4540367, 16.8362617, -158.997726, -0.819152057, -7.1612547e-08, 0.57357645, -1.37566417e-07, 1, -7.1612547e-08, -0.57357645, -1.37566417e-07, -0.819152057), Vector3.new(28.7199612, 75.2800064, 21.4999905))
  5271. createWall(CFrame.new(-78.8311462, 39.9012566, -291.1315, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), Vector3.new(107.669968, 121.409996, 6.42999887))
  5272. createWall(CFrame.new(-114.162926, 16.8362617, -234.379257, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), Vector3.new(2.349967, 75.2800064, 3.74999881))
  5273. createWall(CFrame.new(43.2896805, 16.8362617, -174.360001, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(16.16996, 75.2800064, 17.949995))
  5274. createWall(CFrame.new(-11.822731, 61.6240005, -17.5732212, 0.0261769947, 0, -0.999657333, 0, 1, 0, 0.999657333, 0, 0.0261769947), Vector3.new(3.48996258, 70.859993, 81.8800201))
  5275. createWall(CFrame.new(-187.323776, 16.8362617, -240.981262, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), Vector3.new(3.3399663, 75.2800064, 7.0199976))
  5276. createWall(CFrame.new(-71.4555283, -9.84874344, 8.86862564, 0.0261769947, 0, -0.999657333, 0, 1, 0, 0.999657333, 0, 0.0261769947), Vector3.new(930.549988, 24.909996, 401.669983))
  5277. createWall(CFrame.new(-141.047348, 39.9012566, -346.645721, -1, -8.74227766e-08, 0, -8.74227766e-08, 1, -8.74227766e-08, 7.64274186e-15, -8.74227766e-08, -1), Vector3.new(136.869934, 121.409996, 6.42999887))
  5278. createWall(CFrame.new(36.2830582, 16.8362617, -147.050018, -0.819152057, -7.1612547e-08, 0.57357645, -1.37566417e-07, 1, -7.1612547e-08, -0.57357645, -1.37566417e-07, -0.819152057), Vector3.new(9.30995846, 75.2800064, 31.1199837))
  5279. createWall(CFrame.new(-209.860611, 39.9012566, -292.526398, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), Vector3.new(119.619957, 121.409996, 6.42999887))
  5280. createWall(CFrame.new(17.7576237, -9.09874344, -452.124695, 0.0261769947, 0, -0.999657333, 0, 1, 0, 0.999657333, 0, 0.0261769947), Vector3.new(28.5499878, 25.409996, 231.169983))
  5281. createWall(CFrame.new(-51.8212013, -8.75, -568.843323, 0.0261769947, 0, -0.999657333, 0, 1, 0, 0.999657333, 0, 0.0261769947), Vector3.new(216.549988, 26.409996, 364.169983))
  5282. createWall(CFrame.new(-261.46759, -21.155468, -615.121277, -4.37113883e-08, -0.406736642, -0.91354543, 0, 0.91354543, -0.406736642, 1, -1.77790227e-08, -3.99323383e-08), Vector3.new(87.0499878, 26.409996, 69.1699829))
  5283. createWall(CFrame.new(-250.886627, -11.7916269, -731.871277, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(146.550003, 46.909996, 39.6699829))
  5284. createWall(CFrame.new(-250.886627, -11.7916269, -513.371277, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(116.550003, 46.909996, 39.6699829))
  5285. createWall(CFrame.new(-413.386627, 24.458374, -464.371277, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(18.5500031, 119.409996, 364.669983))
  5286. createWall(CFrame.new(-414.136627, 24.458374, -779.121277, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(18.0499878, 119.409996, 366.169983))
  5287. createWall(CFrame.new(-464.386597, -19.291626, -617.371277, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(324.549988, 31.909996, 0.66998291))
  5288. createWall(CFrame.new(-366.386597, -22.791626, -617.371277, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(324.549988, 24.909996, 197.669983))
  5289. createWall(CFrame.new(-111.886597, 24.458374, -659.621277, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(25.0499878, 119.409996, 255.669983))
  5290. createWall(CFrame.new(-110.386597, 24.458374, -560.871277, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(50.5499878, 119.409996, 258.669983))
  5291. createWall(CFrame.new(79.3634033, 24.458374, -548.871277, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(164.549988, 119.409996, 63.1699829))
  5292. createWall(CFrame.new(56.8634033, 24.458374, -641.121277, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(22.0499878, 119.409996, 108.169983))
  5293. createWall(CFrame.new(11.1134005, 24.458374, -536.621277, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(136.049988, 119.409996, 16.6699829))
  5294. createWall(CFrame.new(-13.6366024, 24.458374, -469.621277, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(2.05000305, 119.409996, 66.1699829))
  5295. createWall(CFrame.new(-43.3866081, 24.458374, -390.371277, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(160.550003, 119.409996, 6.66998291))
  5296. createWall(CFrame.new(111.363388, 24.458374, -390.371277, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(160.550003, 119.409996, 6.16998291))
  5297. createWall(CFrame.new(77.6133881, 24.458374, -258.121277, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(128.050003, 119.409996, 73.6699829))
  5298. createWall(CFrame.new(-22.8866119, 24.458374, -280.621277, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(83.0500031, 119.409996, 90.6699829))
  5299. createWall(CFrame.new(-90.8866119, 24.458374, -216.621277, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(60.0500031, 119.409996, 49.6699829))
  5300. createWall(CFrame.new(-105.136612, 24.458374, -148.621277, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(25.0500031, 119.409996, 78.1699829))
  5301. createWall(CFrame.new(-177.886612, 24.458374, -184.871277, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(97.5500031, 119.409996, 73.6699829))
  5302. createWall(CFrame.new(-43.8866119, 24.458374, -79.8712769, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(126.550003, 119.409996, 47.6699829))
  5303. createWall(CFrame.new(21.6133881, 24.458374, -79.8712769, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(126.550003, 119.409996, 46.6699829))
  5304. createWall(CFrame.new(-595.011597, 29.583374, -617.371277, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(324.549988, 129.660004, 5.91998291))
  5305. createWall(CFrame.new(-528.511597, -4.16662598, -617.371277, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(324.549988, 1.15999603, 128.919983))
  5306. createWall(CFrame.new(-542.636597, 9.45837402, -619.371277, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(36.5499878, 25.909996, 41.6699829))
  5307. createWall(CFrame.new(-559.011597, 23.958374, -619.371277, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(36.5499878, 54.909996, 8.91998291))
  5308. createWall(CFrame.new(-580.636597, 44.083374, -566.496277, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(42.2999878, 95.159996, 42.1699829))
  5309. createWall(CFrame.new(-582.511597, 44.083374, -672.246277, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(41.2999878, 95.159996, 38.4199829))
  5310. createWall(CFrame.new(-12.2616129, 24.458374, -255.746277, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), Vector3.new(132.800003, 119.409996, 34.9199829))
  5311. if _G.destroy_map then
  5312. for i,v in pairs(workspace:GetChildren()) do
  5313. if v.ClassName == "Model" or v.ClassName == "Part" or v.ClassName == "UnionOperation" or v.ClassName == "WedgePart" or v.ClassName == "MeshPart" then
  5314. if v ~= game.Players.LocalPlayer.Character and v.Name ~= regionPartName then
  5315. v:Destroy()
  5316. end
  5317. end
  5318. end
  5319. end
  5320. wait(5)
  5321. while not game:GetService("Workspace").dungeon.room3.enemyFolder:FindFirstChild("Beast Master") do
  5322. wait(1)
  5323. end
  5324. while not game:GetService("Workspace").dungeon.room3.enemyFolder:FindFirstChild("Beast Master"):FindFirstChild("HumanoidRootPart") do
  5325. wait(1)
  5326. end
  5327. -- cant path to second boss, paths to second boss area until hes in position
  5328. forceObjectiveExists = true
  5329. thePart.CFrame = CFrame.new(3.85899, 5.60531, 31.656)
  5330. local t = game:GetService("Workspace").dungeon.room3.enemyFolder:FindFirstChild("Beast Master")
  5331. while t.PrimaryPart.Position.Y > 35 do
  5332. wait()
  5333. end
  5334. forceObjectiveExists = false
  5335. end
  5336.  
  5337. function winterFix()
  5338. local dun = waitForExist(workspace, "dungeon")
  5339. workspace.Terrain:Clear()
  5340. createWall(CFrame.new(49.6182404, 44.75, 118.716324, 0.857167304, 0, -0.515038073, 0, 1, 0, 0.515038073, 0, 0.857167304), Vector3.new(82.5, 2.5, 32))
  5341. createWall(CFrame.new(65.4887466, 54.5, 107.836174, 0.857167304, 0, -0.515038073, 0, 1, 0, 0.515038073, 0, 0.857167304), Vector3.new(63.5, 22, 5))
  5342. createWall(CFrame.new(36.3633881, 54.5, 129.12648, 0.857167304, 0, -0.515038073, 0, 1, 0, 0.515038073, 0, 0.857167304), Vector3.new(92.5, 22, 1.5))
  5343. createWall(CFrame.new(53.4067535, 58.25, -19.6698608, -0.342020094, 0, -0.939692616, 0, 1, 0, 0.939692616, 0, -0.342020094), Vector3.new(64, 29.5, 2))
  5344. createWall(CFrame.new(6.28490734, 44.75, 78.9878387, 0.438371092, 0, -0.898794055, 0, 1, 0, 0.898794055, 0, 0.438371092), Vector3.new(54, 2.5, 46))
  5345. createWall(CFrame.new(26.3271828, 54.5, 64.7621689, 0.438371092, 0, -0.898794055, 0, 1, 0, 0.898794055, 0, 0.438371092), Vector3.new(62, 22, 5.5))
  5346. createWall(CFrame.new(-20.3219051, 54.5, 78.6136322, 0.438371092, 0, -0.898794055, 0, 1, 0, 0.898794055, 0, 0.438371092), Vector3.new(78, 22, 8.5))
  5347. createWall(CFrame.new(2.55875301, 44.75, 71.3480911, 0.438371092, 0, -0.898794055, 0, 1, 0, 0.898794055, 0, 0.438371092), Vector3.new(71, 2.5, 46))
  5348. createWall(CFrame.new(24.2970142, 44.75, -28.1365814, -0.342020094, 0, -0.939692616, 0, 1, 0, 0.939692616, 0, -0.342020094), Vector3.new(182, 2.5, 62.5))
  5349. createWall(CFrame.new(47.7676086, 42.7324867, -1175.33252, 2.97297333e-08, -2.07890483e-09, -1, 0.0697564632, 0.997564077, 3.26544807e-16, 0.997564077, -0.0697564632, 2.98023295e-08), Vector3.new(41.5, 15.5, 167))
  5350. createWall(CFrame.new(34.0146065, 58.25, 20.1416855, -0.798635483, 0, -0.601815045, 0, 1, 0, 0.601815045, 0, -0.798635483), Vector3.new(57, 29.5, 7))
  5351. createWall(CFrame.new(59.3021507, 58.25, -66.8049469, -0.0697563887, 0, -0.997563958, 0, 1, 0, 0.997563958, 0, -0.0697563887), Vector3.new(80.5, 29.5, 2))
  5352. createWall(CFrame.new(-9.12857437, 56, -32.0551186, -0.342020094, 0, -0.939692616, 0, 1, 0, 0.939692616, 0, -0.342020094), Vector3.new(173.5, 25, 7))
  5353. createWall(CFrame.new(72.586441, 57.25, -108.386299, -0.0348994732, 0, -0.999390781, 0, 1, 0, 0.999390781, 0, -0.0348994732), Vector3.new(8.5, 27.5, 25))
  5354. createWall(CFrame.new(32.1111145, 57.25, -109.799721, -0.0348994732, 0, -0.999390781, 0, 1, 0, 0.999390781, 0, -0.0348994732), Vector3.new(8.5, 27.5, 23))
  5355. createWall(CFrame.new(41.0176544, 44.75, -213.190704, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(215, 2.5, 91.5))
  5356. createWall(CFrame.new(3.76765871, 61.5, -213.940704, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(222.5, 36, 17))
  5357. createWall(CFrame.new(12.5176563, 61.5, -235.440704, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(52.5, 36, 34.5))
  5358. createWall(CFrame.new(11.7676601, 61.5, -132.190704, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(59, 36, 33))
  5359. createWall(CFrame.new(81.2676544, 62, -213.440704, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(215.5, 37, 11))
  5360. createWall(CFrame.new(74.2676544, 62, -228.690704, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(53, 37, 25))
  5361. createWall(CFrame.new(74.2676544, 62, -122.190712, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(21, 37, 25))
  5362. createWall(CFrame.new(15.2676544, 61.25, -322.940674, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(14.5, 35.5, 40))
  5363. createWall(CFrame.new(71.0176468, 61.25, -322.940674, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(14.5, 35.5, 37.5))
  5364. createWall(CFrame.new(51.7676086, 58, -1590.19067, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(60, 41, 172))
  5365. createWall(CFrame.new(-2.48238373, 58, -1368.94067, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(10.5, 41, 74.5))
  5366. createWall(CFrame.new(87.0176086, 58, -1368.94067, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(10.5, 41, 69.5))
  5367. createWall(CFrame.new(41.5176239, 45.25, -964.440674, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(6.5, 15.5, 141.5))
  5368. createWall(CFrame.new(113.517601, 58, -1261.19067, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(213, 41, 3.5))
  5369. createWall(CFrame.new(47.767601, 44.25, -1501.44067, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(266.5, 13.5, 167))
  5370. createWall(CFrame.new(84.6765747, 54.5, 139.489838, 0.857167304, 0, -0.515038073, 0, 1, 0, 0.515038073, 0, 0.857167304), Vector3.new(4, 22, 30.5))
  5371. createWall(CFrame.new(43.5176506, 42.4555817, -310.699219, 2.80050312e-08, 1.01929967e-08, -1, -0.342020154, 0.939692736, 2.50114324e-16, 0.939692736, 0.342020154, 2.98023295e-08), Vector3.new(19.5, 9.5, 71.5))
  5372. createWall(CFrame.new(44.2676468, 41.5, -394.940674, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(182.5, 8, 43))
  5373. createWall(CFrame.new(62.5176468, 58.25, -407.940674, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(182.5, 41.5, 6.5))
  5374. createWall(CFrame.new(16.2676506, 58.25, -407.690674, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(184, 41.5, 19))
  5375. createWall(CFrame.new(44.2676353, 44.4752426, -493.355347, 2.76322254e-08, 1.11641461e-08, -0.999999642, -0.37460652, 0.927183867, 0, 0.927183509, 0.37460655, 2.98023153e-08), Vector3.new(15, 8.5, 57))
  5376. createWall(CFrame.new(52.5176392, 43.75, -590.190674, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(183, 12.5, 94.5))
  5377. createWall(CFrame.new(58.5176392, 56, -545.190674, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(93, 37, 14.5))
  5378. createWall(CFrame.new(21.2676411, 56, -545.190674, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(93, 37, 24))
  5379. createWall(CFrame.new(10.517643, 55.75, -635.190674, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(93, 36.5, 10.5))
  5380. createWall(CFrame.new(96.0176392, 55.75, -635.190674, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(93, 36.5, 8.5))
  5381. createWall(CFrame.new(83.7071075, 55.75, -593.931519, 0.587785304, 0, -0.809017003, 0, 1, 0, 0.809017062, 0, 0.587785304), Vector3.new(18.5, 36.5, 34))
  5382. createWall(CFrame.new(44.2676506, 45.7468681, -322.680908, 2.98023224e-08, -3.63461795e-15, -1, 8.83349074e-08, 1, -1.00203257e-15, 1, -8.83349074e-08, 2.98023224e-08), Vector3.new(9, 9.5, 43))
  5383. createWall(CFrame.new(68.7676315, 46.7623405, -677.575806, 1.44484531e-08, -2.60657025e-08, -1, 0.874619722, 0.484809637, -1.75880865e-15, 0.484809637, -0.874619722, 2.98023259e-08), Vector3.new(9, 16, 107))
  5384. createWall(CFrame.new(50.2676353, 46, -716.690613, 2.98023259e-08, 0, -1, 0, 1, 0, 1, 0, 2.98023259e-08), Vector3.new(70, 17, 29))
  5385. createWall(CFrame.new(6.26764297, 58.5, -711.440674, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(71.5, 42, 74))
  5386. createWall(CFrame.new(89.2676392, 58.5, -711.440674, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(71.5, 42, 54))
  5387. createWall(CFrame.new(41.5176277, 46, -853.940674, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(215.5, 17, 141.5))
  5388. createWall(CFrame.new(-25.9823647, 59, -853.940674, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(215.5, 43, 6.5))
  5389. createWall(CFrame.new(118.517624, 59, -853.940674, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(215.5, 43, 23.5))
  5390. createWall(CFrame.new(111.267616, 59, -883.440796, 0.173648208, 0, -0.984807789, 0, 1, 0, 0.984807789, 0, 0.173648208), Vector3.new(154.5, 43, 38))
  5391. createWall(CFrame.new(-5.48237181, 57.75, -964.190674, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(28, 40.5, 47.5))
  5392. createWall(CFrame.new(100.517609, 57.75, -964.190674, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(28, 40.5, 70.5))
  5393. createWall(CFrame.new(39.0176201, 44.5, -1058.19067, 2.98023259e-08, 0, -1, 0, 1, 0, 1, 0, 2.98023259e-08), Vector3.new(196, 15, 144.5))
  5394. createWall(CFrame.new(3.799963, 56, -53.687912, -0.342020094, 0, -0.939692616, 0, 1, 0, 0.939692616, 0, -0.342020094), Vector3.new(40, 25, 16.5))
  5395. createWall(CFrame.new(-24.2323837, 58, -1261.19067, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(213, 41, 23))
  5396. createWall(CFrame.new(47.7676086, 44.25, -1262.69067, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(216, 13.5, 167))
  5397. createWall(CFrame.new(-33.7323837, 58, -1491.94067, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(256.5, 41, 12))
  5398. createWall(CFrame.new(120.767601, 58, -1491.94067, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(256.5, 41, 34))
  5399. createWall(CFrame.new(-0.232380569, 60.75, -1165.44067, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(21.5, 46.5, 71))
  5400. createWall(CFrame.new(85.5176086, 60.75, -1165.44067, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(21.5, 46.5, 66.5))
  5401. createWall(CFrame.new(136.517609, 60.75, -1068.69067, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(215, 46.5, 30.5))
  5402. createWall(CFrame.new(-36.9823761, 60.75, -1068.69067, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(215, 46.5, 20.5))
  5403. createWall(CFrame.new(44.2676506, 42.8013573, -333.105347, 2.81786487e-08, -9.70269021e-09, -1, 0.325568229, 0.945518553, -1.09093672e-15, 0.945518553, -0.325568229, 2.98023224e-08), Vector3.new(19.5, 9.5, 43))
  5404. createWall(CFrame.new(106.267624, 45.5, -1058.19067, 2.98023259e-08, 0, -1, 0, 1, 0, 1, 0, 2.98023259e-08), Vector3.new(196, 17, 33))
  5405. createWall(CFrame.new(39.0176239, 45.5, -987.940674, 2.98023259e-08, 0, -1, 0, 1, 0, 1, 0, 2.98023259e-08), Vector3.new(55.5, 17, 144.5))
  5406. createWall(CFrame.new(-19.482378, 45.5, -1058.94067, 2.98023259e-08, 0, -1, 0, 1, 0, 1, 0, 2.98023259e-08), Vector3.new(197.5, 17, 32.5))
  5407. createWall(CFrame.new(39.7676201, 45.5, -1145.44067, 2.98023259e-08, 0, -1, 0, 1, 0, 1, 0, 2.98023259e-08), Vector3.new(24.5, 17, 146))
  5408. createWall(CFrame.new(105.017624, 45, -1058.19067, 2.98023259e-08, 0, -1, 0, 1, 0, 1, 0, 2.98023259e-08), Vector3.new(196, 16, 35.5))
  5409. createWall(CFrame.new(39.0176239, 45, -988.940674, 2.98023259e-08, 0, -1, 0, 1, 0, 1, 0, 2.98023259e-08), Vector3.new(57.5, 16, 144.5))
  5410. createWall(CFrame.new(-18.482378, 45, -1058.94067, 2.98023259e-08, 0, -1, 0, 1, 0, 1, 0, 2.98023259e-08), Vector3.new(197.5, 16, 34.5))
  5411. createWall(CFrame.new(39.7676201, 45, -1143.69067, 2.98023259e-08, 0, -1, 0, 1, 0, 1, 0, 2.98023259e-08), Vector3.new(28, 16, 146))
  5412. createWall(CFrame.new(24.7676239, 46, -1016.19067, 2.98023259e-08, 0, -1, 0, 1, 0, 1, 0, 2.98023259e-08), Vector3.new(13, 18, 28))
  5413. createWall(CFrame.new(2.2676239, 45.5, -1031.94067, 2.98023259e-08, 0, -1, 0, 1, 0, 1, 0, 2.98023259e-08), Vector3.new(44.5, 17, 28))
  5414. createWall(CFrame.new(1.01762342, 46, -1041.44067, 2.98023259e-08, 0, -1, 0, 1, 0, 1, 0, 2.98023259e-08), Vector3.new(63.5, 18, 25.5))
  5415. createWall(CFrame.new(4.76762342, 50, -1050.69067, 2.98023259e-08, 0, -1, 0, 1, 0, 1, 0, 2.98023259e-08), Vector3.new(44, 26, 23))
  5416. createWall(CFrame.new(-1.98237896, 50, -1124.94067, 2.98023259e-08, 0, -1, 0, 1, 0, 1, 0, 2.98023259e-08), Vector3.new(28.5, 26, 19.5))
  5417. createWall(CFrame.new(13.267621, 50, -1130.19067, 2.98023259e-08, 0, -1, 0, 1, 0, 1, 0, 2.98023259e-08), Vector3.new(18, 26, 50))
  5418. createWall(CFrame.new(82.0176239, 50, -1130.19067, 2.98023259e-08, 0, -1, 0, 1, 0, 1, 0, 2.98023259e-08), Vector3.new(18, 26, 18.5))
  5419. createWall(CFrame.new(84.2676239, 50, -1124.44067, 2.98023259e-08, 0, -1, 0, 1, 0, 1, 0, 2.98023259e-08), Vector3.new(29.5, 26, 14))
  5420. createWall(CFrame.new(84.2676239, 50, -1028.19067, 2.98023259e-08, 0, -1, 0, 1, 0, 1, 0, 2.98023259e-08), Vector3.new(20, 26, 14))
  5421. createWall(CFrame.new(75.5176239, 50, -1018.94067, 2.98023259e-08, 0, -1, 0, 1, 0, 1, 0, 2.98023259e-08), Vector3.new(9.5, 26, 31.5))
  5422. createWall(CFrame.new(78.0176239, 45.25, -1024.19067, 2.98023259e-08, 0, -1, 0, 1, 0, 1, 0, 2.98023259e-08), Vector3.new(20, 16.5, 26.5))
  5423. createWall(CFrame.new(50.1426544, 61.5, -157.565704, 2.98023224e-08, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 2.98023224e-08), Vector3.new(19.75, 36, 15.25))
  5424. wait(.1)
  5425. if _G.destroy_map then
  5426. workspace.Terrain:Clear()
  5427. for i,v in pairs(workspace:GetChildren()) do
  5428. if v.ClassName == "Model" or v.ClassName == "Part" or v.ClassName == "UnionOperation" or v.ClassName == "WedgePart" then
  5429. if v ~= game.Players.LocalPlayer.Character and v.Name ~= regionPartName then
  5430. v:Destroy()
  5431. end
  5432. end
  5433. end
  5434. for i,room in pairs(workspace.dungeon:GetChildren()) do
  5435. for j, v in pairs(room:GetChildren()) do
  5436. if v.ClassName == "Model" or v.ClassName == "Part" or v.ClassName == "UnionOperation" or v.ClassName == "WedgePart" and not v:FindFirstChild("HumanoidRootPart") then
  5437. if v ~= game.Players.LocalPlayer.Character and v.Name ~= regionPartName then
  5438. v:Destroy()
  5439. end
  5440. end
  5441. end
  5442. end
  5443. end
  5444. while not game:GetService("Workspace").dungeon.bossRoom.enemyFolder:FindFirstChildOfClass("Model") do
  5445. wait(1)
  5446. end
  5447. while not game:GetService("Workspace").dungeon.bossRoom.enemyFolder:FindFirstChildOfClass("Model"):FindFirstChild("HumanoidRootPart") do
  5448. wait(1)
  5449. end
  5450. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").dungeon.bossRoom.enemyFolder:FindFirstChildOfClass("Model"):FindFirstChild("HumanoidRootPart").CFrame * CFrame.new(0,0,5)
  5451. end
  5452.  
  5453. function desertFix()
  5454. local dun = waitForExist(workspace, "dungeon")
  5455. for i,v in pairs(dun:GetChildren()) do
  5456. for j, k in pairs(v:GetChildren()) do
  5457. if k.ClassName == "Part" then
  5458. if k.Name == "barrier" then
  5459. k:Destroy()
  5460. end
  5461. local n = k.Orientation.X
  5462. if n ~= math.floor(n) then
  5463. k:Destroy()
  5464. end
  5465. local n = k.Orientation.Y
  5466. if n ~= math.floor(n) then
  5467. k:Destroy()
  5468. end
  5469. local n = k.Orientation.Z
  5470. if n ~= math.floor(n) then
  5471. k:Destroy()
  5472. end
  5473. elseif k.ClassName == "Model" or k.ClassName == "UnionOperation" or k.ClassName == "WedgePart" then
  5474. k:Destroy()
  5475. end
  5476. end
  5477. end
  5478. end
  5479.  
  5480. function eggFix()
  5481. game.ReplicatedStorage.remotes.equipSet:FireServer(_G.eggClass)
  5482. local dun = waitForExist(workspace, "Map")
  5483. for i,v in pairs(dun.Parts.Terrain:GetChildren()) do
  5484. cs:AddTag(v, "RayWhitelist")
  5485. end
  5486. for i,v in pairs(dun.Parts.Misc:GetChildren()) do
  5487. cs:AddTag(v, "RayWhitelist")
  5488. end
  5489. for i,v in pairs(dun.Barriers:GetChildren()) do
  5490. cs:AddTag(v, "RayWhitelist")
  5491. end
  5492. for i,v in pairs(dun.Models:GetChildren()) do
  5493. cs:AddTag(v, "RayWhitelist")
  5494. end
  5495. dun.Props:Destroy()
  5496. wait(5)
  5497. while not game:GetService("Workspace").dungeon.bossRoom.enemyFolder:FindFirstChild("Egg Mech") do
  5498. wait(1)
  5499. end
  5500. while not game:GetService("Workspace").dungeon.bossRoom.enemyFolder:FindFirstChild("Egg Mech"):FindFirstChild("HumanoidRootPart") do
  5501. wait(1)
  5502. end
  5503. -- cant path to second boss, paths to second boss area until hes in position
  5504. forceObjectiveExists = true
  5505. local _,_,_,root = getPlayer()
  5506. thePart.CFrame = CFrame.new(570.516174, 124.525772, 5.6751118)
  5507. while root.Position.Y > 120 do
  5508. wait()
  5509. end
  5510. forceObjectiveExists = false
  5511. end
  5512.  
  5513. function fpsBoost()
  5514. if _G.fpsBoost then
  5515. local decalsyeeted = true -- Leaving this on makes games look shitty but the fps goes up by at least 20.
  5516. local g = game
  5517. local w = g.Workspace
  5518. local l = g.Lighting
  5519. local t = w.Terrain
  5520. sethiddenproperty(l,"Technology",2)
  5521. sethiddenproperty(t,"Decoration",false)
  5522. t.WaterWaveSize = 0
  5523. t.WaterWaveSpeed = 0
  5524. t.WaterReflectance = 0
  5525. t.WaterTransparency = 0
  5526. l.GlobalShadows = false
  5527. l.FogEnd = 9e9
  5528. l.Brightness = 0
  5529. settings().Rendering.QualityLevel = "Level01"
  5530. for i, v in pairs(g:GetDescendants()) do
  5531. if v:IsA("Part") or v:IsA("Union") or v:IsA("CornerWedgePart") or v:IsA("TrussPart") then
  5532. v.Material = "Plastic"
  5533. v.Reflectance = 0
  5534. elseif v:IsA("Decal") or v:IsA("Texture") and decalsyeeted then
  5535. v.Transparency = 1
  5536. elseif v:IsA("ParticleEmitter") or v:IsA("Trail") then
  5537. v.Lifetime = NumberRange.new(0)
  5538. elseif v:IsA("Explosion") then
  5539. v.BlastPressure = 1
  5540. v.BlastRadius = 1
  5541. elseif v:IsA("Fire") or v:IsA("SpotLight") or v:IsA("Smoke") or v:IsA("Sparkles") then
  5542. v.Enabled = false
  5543. elseif v:IsA("MeshPart") then
  5544. v.Material = "Plastic"
  5545. v.Reflectance = 0
  5546. v.TextureID = 10385902758728957
  5547. end
  5548. end
  5549. for i, e in pairs(l:GetChildren()) do
  5550. if e:IsA("BlurEffect") or e:IsA("SunRaysEffect") or e:IsA("ColorCorrectionEffect") or e:IsA("BloomEffect") or e:IsA("DepthOfFieldEffect") then
  5551. e.Enabled = false
  5552. end
  5553. end
  5554. end
  5555. end
  5556.  
  5557. updatecheck = function()
  5558. local places = {
  5559. [5281215714] = { ['version'] = 46, ['name'] = "Volcanic Chambers" },
  5560. [4628698373] = { ['version'] = 39, ['name'] = "Orbital Outpost" },
  5561. [4113459044] = { ['version'] = 68, ['name'] = "Steampunk Sewers" },
  5562. [3737465474] = { ['version'] = 80, ['name'] = "Ghastly Harbor" },
  5563. [3488584454] = { ['version'] = 93, ['name'] = "The Canals" },
  5564. [3277965370] = { ['version'] = 110, ['name'] = "Samurai Palace" },
  5565. [3119903031] = { ['version'] = 117, ['name'] = "The Underworld" },
  5566. [3041739550] = { ['version'] = 134, ['name'] = "King's Palace" },
  5567. [2988891534] = { ['version'] = 424, ['name'] = "Pirate Island" },
  5568. [2743806150] = { ['version'] = 352, ['name'] = "Winter Outpost" },
  5569. [2606294912] = { ['version'] = 473, ['name'] = "Desert Temple" },
  5570. [4865331948] = { ['version'] = 473, ['name'] = "Easter Event" },
  5571. [3220974599] = { ['version'] = 89, ['name'] = "Wave Defense" },
  5572. [4286254333] = { ['version'] = 74, ['name'] = "Boss Raid" },
  5573. [2414851778] = { ['version'] = 4360, ['name'] = "Lobby" },
  5574. [3220968688] = { ['version'] = 152, ['name'] = "Lobby2" },
  5575. }
  5576. if places[game.PlaceId] ~= nil and places[game.PlaceId]['version'] ~= game.PlaceVersion then
  5577. --failReport("Ban Prevention, DM MRob on discord", "PlaceId: "..tostring(game.PlaceId).." CurrentPlaceVersion: ".. tostring(places[game.PlaceId]['version']).." NewPlaceVersion: "..tostring(game.PlaceVersion) )
  5578. end
  5579. end
  5580. spawn(updatecheck)
  5581. if game.PlaceId == 6216785535 then
  5582. webhookLocals.dungeonName = "Oceanic"
  5583. content_2.Text = "Oceanic"
  5584. abilityRange = 50
  5585. bossRange = 45
  5586. mobRange = 45
  5587. spawn(oceanFix)
  5588. elseif game.PlaceId == 5281215714 then -- volcanic
  5589. webhookLocals.dungeonName = "Volcanic Chambers"
  5590. content_2.Text = "Volcanic Chambers"
  5591. spawn(volcanicFix)
  5592. elseif game.PlaceId == 4628698373 then -- orbital
  5593. webhookLocals.dungeonName = "Orbital Outpost"
  5594. content_2.Text = "Orbital Outpost"
  5595. spawn(fixOrbital)
  5596. elseif game.PlaceId == 4113459044 then -- steam
  5597. webhookLocals.dungeonName = "Steampunk Sewers"
  5598. content_2.Text = "Steampunk Sewers"
  5599. spawn(steamFix)
  5600. elseif game.PlaceId == 3737465474 then -- ghastly
  5601. webhookLocals.dungeonName = "Ghastly Harbor"
  5602. content_2.Text = "Ghastly Harbor"
  5603. spawn(ghastlyFix)
  5604. elseif game.PlaceId == 3488584454 then -- canals
  5605. webhookLocals.dungeonName = "The Canals"
  5606. content_2.Text = "The Canals"
  5607. spawn(canalsFix)
  5608. elseif game.PlaceId == 3277965370 then -- samurai
  5609. webhookLocals.dungeonName = "Samurai Palace"
  5610. content_2.Text = "Samurai Palace"
  5611. spawn(samuraiFix)
  5612. elseif game.PlaceId == 3119903031 then -- underworld
  5613. webhookLocals.dungeonName = "The Underworld"
  5614. content_2.Text = "The Underworld"
  5615. spawn(underworldFix)
  5616. elseif game.PlaceId == 3041739550 then -- king
  5617. webhookLocals.dungeonName = "Kings Palace"
  5618. content_2.Text = "Kings Palace"
  5619. spawn(kingFix)
  5620. elseif game.PlaceId == 2988891534 then -- pirate
  5621. webhookLocals.dungeonName = "Pirate Island"
  5622. content_2.Text = "Pirate Island"
  5623. spawn(pirateFix)
  5624. elseif game.PlaceId == 2743806150 then -- winter
  5625. webhookLocals.dungeonName = "Winter Outpost"
  5626. content_2.Text = "Winter Outpost"
  5627. spawn(winterFix)
  5628. elseif game.PlaceId == 2606294912 then -- desert
  5629. webhookLocals.dungeonName = "Desert Temple"
  5630. content_2.Text = "Desert Temple"
  5631. spawn(desertFix)
  5632. elseif game.PlaceId == 4286254333 then -- boss raid
  5633. webhookLocals.dungeonName = "Boss Raid"
  5634. content_2.Text = "Boss Raid"
  5635. normalDungeon = false
  5636. bossRaid = true
  5637. elseif workspace:FindFirstChild("currentWave") then -- wave defense
  5638. webhookLocals.dungeonName = "Wave Defense"
  5639. content_2.Text = "Wave Defense"
  5640. waveDefense = true
  5641. normalDungeon = false
  5642. elseif game.PlaceId == 4865331948 then -- easter egg event
  5643. _G.smallTeleports = true
  5644. waveDefense = false
  5645. content_2.Text = "Easter Egg Event"
  5646. normalDungeon = false
  5647. eggEvent = true
  5648. spawn(eggFix)
  5649. elseif game.PlaceId == 6878973814 then
  5650. _G.smallTeleports = true
  5651. _G.teleportDuringBossOnly = true
  5652. webhookLocals.dungeonName = "Enchanted Forest"
  5653. content_2.Text = "Enchanted Forest"
  5654. abilityRange = 65
  5655. bossRange = 55
  5656. spawn(forestFix)
  5657. elseif game.PlaceId == 8376888496 then
  5658. _G.smallTeleports = true
  5659. _G.teleportDuringBossOnly = true
  5660. webhookLocals.dungeonName = "Northern Lands"
  5661. content_2.Text = "Northern Lands"
  5662. abilityRange = 65
  5663. local bossRange = 55
  5664. _G.smallTeleportVal = 25
  5665. spawn(northernFix)
  5666. end
  5667. if normalDungeon or waveDefense or eggEvent then -- same remote for wave defense and noraml dungeon
  5668. game:GetService("ReplicatedStorage").remotes.changeStartValue:FireServer()
  5669. if game.PlaceId == 2606294912 then
  5670. wait(3)
  5671. end
  5672. elseif bossRaid then -- remote to start dungeon on boss raid
  5673. workspace:WaitForChild("tier")
  5674. game.ReplicatedStorage.remotes.readyUp:FireServer()
  5675. end
  5676. spawn(fpsBoost)
  5677.  
  5678. function deleteFirstBarrier()
  5679. if game:GetService("Workspace"):FindFirstChild("dungeon") then
  5680. if game:GetService("Workspace").dungeon.initialRoom:FindFirstChild("barrier") then
  5681. game:GetService("Workspace").dungeon.initialRoom.barrier:Destroy()
  5682. end
  5683. end
  5684. end
  5685.  
  5686. game.Players.LocalPlayer.Character.Humanoid.AutoRotate = false
  5687.  
  5688. if _G.hide_projectiles then
  5689. spawn(function()
  5690. if game.ReplicatedStorage:FindFirstChild("projectiles") then
  5691. game.ReplicatedStorage.projectiles:Destroy()
  5692. end
  5693. if game.Players.LocalPlayer.PlayerGui:FindFirstChild("abilityLocal") then
  5694. game.Players.LocalPlayer.PlayerGui.abilityLocal.Disabled = true
  5695. if game.Players.LocalPlayer.PlayerGui.abilityLocal:FindFirstChild("abilityLocal2") then
  5696. game.Players.LocalPlayer.PlayerGui.abilityLocal.abilityLocal2.Disabled = true
  5697. end
  5698. end
  5699. if game.Players.LocalPlayer.PlayerScripts:FindFirstChild("MapSpecificLocals") then
  5700. --game.Players.LocalPlayer.PlayerScripts.MapSpecificLocals.Disabled = true
  5701. end
  5702. end)
  5703. end
  5704.  
  5705. spawn(initHitBox)
  5706. spawn(rayCollectionService)
  5707. spawn(deleteFirstBarrier)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement