Advertisement
marcelslibrary

AURORAHUB_TowerHell

Dec 10th, 2019
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.50 KB | None | 0 0
  1. local r = game:GetService("RunService")
  2. local Players = game:GetService("Players") or game.Players
  3. local WS = game:GetService("Workspace") or workspace or game.Workspace
  4. local L = game:GetService("Lighting") or game.Lighting
  5. local http = game:GetService("HttpService")
  6. local user = game:GetService("UserInputService")
  7. local RS = game:GetService("ReplicatedStorage") or game.ReplicatedStorage
  8. local TS = game:GetService("TweenService")
  9. local CG = game:GetService("CoreGui")
  10. local Teams = game:GetService("Teams") or game.Teams
  11. local Camera = WS.CurrentCamera or WS:FindFirstChild("Camera")
  12. local RandomStr = http:GenerateGUID(false)
  13. local GameFor = {a = "1962086868"}
  14.  
  15. local LP = Players.LocalPlayer
  16. local Mouse = LP:GetMouse()
  17.  
  18.  
  19. local default_colors = {
  20. Purple = Color3.fromRGB(85, 0, 255),
  21. Pink = Color3.fromRGB(170, 0, 127),
  22. Grey = Color3.fromRGB(56, 56, 56),
  23. }
  24.  
  25. local getupval = debug.getupvalue or getupvalue
  26. local getupvals = debug.getupvalues or getupvalues or secret953
  27. local getreg = debug.getregistry or getregistry or getreg
  28. local setupval = debug.setupvalue or setupvalue or secret500
  29. local getlocal = debug.getlocal or getlocal or secret234
  30. local getlocals = debug.getlocals or getlocals
  31. local setlocal = debug.setlocal or setlocal
  32. local mt = getrawmetatable(game)
  33. local setreadonly = make_writeable or setreadonly
  34. local touch = firetouchinterest
  35. local click = fireclickdetector
  36. local Copy = setclipboard or clipboard.set or copystring
  37.  
  38. local oldnamecall = mt.__namecall
  39. local oldindex = mt.__index
  40. local oldnewindex = mt.__newindex
  41.  
  42.  
  43. if syn == nil then
  44. LP:Kick("Exploit not supported.")
  45. end
  46.  
  47. if game.PlaceId ~= tonumber(GameFor.a) then
  48. LP:Kick("[ERROR]: GAMEID: "..tonumber(GameFor.a).." ~= "..game.PlaceId)
  49. end
  50.  
  51. local mainui = loadstring(game:HttpGet("https://pastebin.com/raw/iK6wvr5U", true))()
  52. local visuals = loadstring(game:HttpGet("https://pastebin.com/raw/cv4Amr2p", true))()
  53. local Console = rconsolename("Aurora Console")
  54. local main = { }
  55. local functions = { }
  56. local backups = { }
  57. local loops = { }
  58. local backupss = { }
  59. local backups = { }
  60.  
  61.  
  62. main.settings = {
  63. fog = false,
  64. jumppower = false,
  65. walkspeed = false,
  66. walkspeedval = false,
  67. jumppowerval = false,
  68. WalkSpeed = 16,
  69. JumpPower = 50,
  70. }
  71.  
  72.  
  73. do--rconsole
  74.  
  75. do--hook
  76. hookfunction(warn, function(t)
  77. rconsolewarn(" [WARN]"..t)
  78. end)
  79.  
  80. hookfunction(print, function(t)
  81. rconsolewarn(" [PRINT]"..t)
  82. end)
  83.  
  84.  
  85. hookfunction(error, function(t)
  86. rconsoleerr(" [ERROR]"..t)
  87. end)
  88. end--kook
  89.  
  90. local function logo()
  91. rconsoleprint(" ______ __ __ ______ \n")
  92. rconsoleprint(" / \\ / | / | / \\ \n")
  93. rconsoleprint(" /$$$$$$ | __ __ ______ ______ ______ ______ $$ | $$ |/$$$$$$ | \n")
  94. rconsoleprint(" $$ |__$$ |/ | / | / \\ / \\ / \\ / \\ $$ | $$ |$$ ___$$ | \n")
  95. rconsoleprint(" $$ $$ |$$ | $$ |/$$$$$$ |/$$$$$$ |/$$$$$$ |$$$$$$ | $$ \\ /$$/ / $$< \n")
  96. rconsoleprint(" $$$$$$$$ |$$ | $$ |$$ | $$/ $$ | $$ |$$ | $$/ / $$ | $$ /$$/ _$$$$$ | \n")
  97. rconsoleprint(" $$ | $$ |$$ \\__$$ |$$ | $$ \\__$$ |$$ | /$$$$$$$ | $$ $$/ / \\__$$ | \n")
  98. rconsoleprint(" $$ | $$ |$$ $$/ $$ | $$ $$/ $$ | $$ $$ | $$$/ $$ $$/ \n")
  99. rconsoleprint(" $$/ $$/ $$$$$$/ $$/ $$$$$$/ $$/ $$$$$$$/ $/ $$$$$$/ \n")
  100. rconsoleprint("\n Aurora loaded, Do not close this menu just minimize it.\n\n ALL ERRORS/WARNS/PRINTS WILL BE BELOW HERE!\n\n\n")
  101. end
  102. logo()
  103.  
  104.  
  105. end--rconsole
  106.  
  107. do --functions
  108.  
  109. function functions:TeamColor(x)
  110. if x.Team == P.Team then
  111. return Color3.fromRGB(0,255,0)
  112. else
  113. return Color3.fromRGB(255,0,0)
  114. end
  115. end
  116.  
  117. function functions:GetSize(p)
  118. if p:isA ("BasePart") then
  119. return p.Size
  120. end
  121. if p:IsA ("MeshPart") then
  122. return p.Size
  123. end
  124. end
  125.  
  126. function functions:WarnTable(t)
  127. for a,b in next, t do
  128. if type(b)=="table" then
  129. functions:CreateWarn("[TABLE] "..tostring(a))
  130. functions:WarnTable(b)
  131. end
  132. functions:CreateWarn("[VALUE] "..a,b)
  133. end
  134. end
  135.  
  136. function functions:GetReplicatedScripts()
  137. local x = {}
  138. for i,v in pairs(RS:GetDescendants()) do
  139. if v:isA("LocalScript") or v:isA("ModuleScript") then
  140. table.insert(x,v)
  141. end
  142. end
  143. return x
  144. end
  145.  
  146.  
  147. function functions:RandomizeName(obj)
  148. if obj:isA("ScreenGui") or obj:isA("Model") then
  149. for i,v in pairs(obj:GetDescendants()) do
  150. v.Name = http:GenerateGUID(false)
  151. end
  152. end
  153. if obj:isA("Part") or obj:isA("MeshPart") or obj:isA("UnionOperation") then
  154. obj.Name = http:GenerateGUID(false)
  155. end
  156. end
  157.  
  158. function functions:FindWSObj(name,class)
  159. for i,v in pairs(WS:GetDescendants())do
  160. if v.Name == name and v:isA(class) then
  161. return v
  162. end
  163. end
  164. end
  165.  
  166. function functions:deepcopy(y)
  167. local orig_type = type(y)
  168. local copy
  169. if orig_type == 'table' then
  170. copy = {}
  171. for orig_key, orig_value in next, y, nil do
  172. copy[functions:deepcopy(orig_key)] = functions:deepcopy(orig_value)
  173. end
  174. setmetatable(copy, functions:deepcopy(getmetatable(y)))
  175. else
  176. copy = y
  177. end
  178. return copy
  179. end
  180.  
  181. function functions:CreateLoop(name, func, waitt, canBeDestroyed, ...)
  182. if loops[name] ~= nil then return end
  183.  
  184. loops[name] = { }
  185. loops[name].Running = false
  186. loops[name].Destroy = false
  187. loops[name].CanBeDestroyed = canBeDestroyed
  188. loops[name].Loop = coroutine.create(function(...)
  189. while true do
  190. if loops[name].Running then
  191. func(...)
  192. end
  193.  
  194. if loops[name].Destroy then
  195. break
  196. end
  197.  
  198. if type(wait) == "userdata" then
  199. waitt:wait()
  200. else
  201. wait(waitt)
  202. end
  203. end
  204. end)
  205. end
  206.  
  207. function functions:RunLoop(name, func, waitt, canBeDestroyed, ...)
  208. if loops[name] == nil then
  209. if func ~= nil then
  210. self:CreateLoop(name, func, waitt, canBeDestroyed, ...)
  211. end
  212. end
  213.  
  214. loops[name].Running = true
  215. local succ, out = coroutine.resume(loops[name].Loop)
  216. if not succ then
  217. warn("Loop: " .. tostring(name) .. " ERROR: " .. tostring(out))
  218. end
  219. end
  220.  
  221. function functions:StopLoop(name)
  222. if loops[name] == nil then return end
  223.  
  224. loops[name].Running = false
  225. end
  226.  
  227. function functions:DestroyLoop(name)
  228. if loops[name] == nil then return end
  229.  
  230. self:StopLoop(name)
  231. loops[name].Destroy = true
  232.  
  233. loops[name] = nil
  234. end
  235.  
  236. function functions:DestroyAllLoops()
  237. for i, v in next, loops do
  238. self:DestroyLoop(i)
  239. end
  240. end
  241.  
  242. function functions:CreateBackup(name, path, index, f)
  243. backupss[name] = { }
  244. backupss[name].func = f
  245. backupss[name].path = path
  246. backupss[name].index = index
  247.  
  248. return backupss[name].func
  249. end
  250.  
  251.  
  252. end--functions
  253.  
  254. function main:Init()
  255. setreadonly(mt,false)
  256. mt.__index = newcclosure(function(t,k)
  257. return (not checkcaller() and main.settings[k] or oldindex(t,k))
  258. end)
  259. mt.__newindex = newcclosure(function(t,k,v)
  260. if not checkcaller() and main.settings[k] then return end
  261. oldnewindex(t,k,v)
  262. end)
  263.  
  264.  
  265.  
  266.  
  267. local tower = Workspace["tower"]
  268. function functions:RemoveKillParts()
  269. for i,v in pairs(tower:GetDescendants()) do
  270. if v:FindFirstChild("kills") then
  271. v:Destroy()
  272. end
  273. end
  274. end
  275.  
  276. functions:CreateLoop("No Fog",function()
  277. if not main.settings.fog then return end
  278. L.FogEnd = 100000000000
  279. end,1)
  280.  
  281. functions:CreateLoop("WalkSpeed",function()
  282. if not main.settings.walkspeed then return end
  283. local char = LP.Character
  284. if char then
  285. if char:FindFirstChild("Humanoid") then
  286. char.Humanoid.WalkSpeed = main.settings.walkspeedval
  287. end
  288. end
  289. end,0.1)
  290.  
  291. functions:CreateLoop("JumpPower",function()
  292. if not main.settings.jumppower then return end
  293. local char = LP.Character
  294. if char then
  295. if char:FindFirstChild("Humanoid") then
  296. char.Humanoid.JumpPower = main.settings.jumppowerval
  297. end
  298. end
  299. end,0.1)
  300.  
  301.  
  302. functions:RunLoop("WalkSpeed")
  303. functions:RunLoop("No Fog")
  304. functions:RunLoop("JumpPower")
  305. end
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316. function mainui:Init()
  317. do--world
  318.  
  319. local char = mainui:CreateWindow("Character")
  320. char:AddToggle("WalkSpeed",function(state)
  321. main.settings.walkspeed = not main.settings.walkspeed
  322. end)
  323. char:AddToggle("JumpPower",function(state)
  324. main.settings.jumppower = not main.settings.jumppower
  325. end)
  326. char:AddDevider("Settings")
  327. char:AddSlider("WalkSpeed",16,300,function(x)
  328. main.settings.walkspeedval = x
  329. end)
  330. char:AddSlider("JumpPower",50,500,function(x)
  331. main.settings.jumppowerval = x
  332. end)
  333.  
  334. local map = mainui:CreateWindow("Tower Edit")
  335. map:AddToggle("Remove Fog",function(state)
  336. main.settings.fog = not main.settings.fog
  337. end)
  338. map:AddButton("Remove Kill Parts",function()
  339. functions:RemoveKillParts()
  340. end)
  341.  
  342.  
  343. end
  344. end
  345.  
  346.  
  347.  
  348. main:Init()
  349. mainui:Init()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement