Advertisement
xtrey10x

Heavens Arena Script

Nov 15th, 2022
3,069
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.00 KB | None | 0 0
  1. local PlayList = {}
  2. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  3. if v ~= game.Players.LocalPlayer then
  4. table.insert(PlayList,v.Name)
  5. end
  6. end
  7.  
  8. local vu = game:GetService("VirtualUser")
  9. game:GetService("Players").LocalPlayer.Idled:connect(function()
  10. vu:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  11. wait(1)
  12. vu:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  13. end)
  14.  
  15.  
  16. local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
  17. local Window = OrionLib:MakeWindow({Name = "Xtrey10x hub - HEavens Arena", HidePremium = false, SaveConfig = true, ConfigFolder = "OrionTest"})
  18.  
  19. local Tab = Window:MakeTab({
  20. Name = "Main",
  21. Icon = "rbxassetid://4483345998",
  22. PremiumOnly = false
  23. })
  24.  
  25.  
  26. --Values
  27. _G.autoblock = true
  28. _G.autoE = true
  29. _G.autoQ = true
  30. _G.AutoPlayer = true
  31. _G.one = true
  32. _G.two = true
  33. _G.three = true
  34. _G.four = true
  35. _G.five = true
  36. _G.Evasion = true
  37. _G.hit = true
  38. --Functions
  39. function hit()
  40. while _G.hit == true do
  41. local args = {
  42. [1] = false
  43. }
  44.  
  45. game:GetService("Players").LocalPlayer.click:FireServer(unpack(args))
  46. wait()
  47. end
  48. end
  49. function AutoPlayer()
  50. while _G.AutoPlayer == true do
  51. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[xdvalue].Character.HumanoidRootPart.CFrame
  52. wait()
  53.  
  54.  
  55. end
  56. end
  57.  
  58.  
  59. function one()
  60. while _G.one == true do
  61. local args = {
  62. [1] = {
  63. ["IsKey"] = true,
  64. ["Key"] = Enum.KeyCode.One,
  65. ["Pressed"] = true}}
  66. game:GetService("Players").LocalPlayer.Character.CharacterHandler.Remotes.Input:FireServer(unpack(args))
  67. wait()
  68. end
  69. end
  70. function two()
  71. while _G.two == true do
  72. local args = {
  73. [1] = {
  74. ["IsKey"] = true,
  75. ["Key"] = Enum.KeyCode.Two,
  76. ["Pressed"] = true}}
  77. game:GetService("Players").LocalPlayer.Character.CharacterHandler.Remotes.Input:FireServer(unpack(args))
  78. wait()
  79. end
  80. end
  81. function three()
  82. while _G.three == true do
  83. local args = {
  84. [1] = {
  85. ["IsKey"] = true,
  86. ["Key"] = Enum.KeyCode.Three,
  87. ["Pressed"] = true}}
  88. game:GetService("Players").LocalPlayer.Character.CharacterHandler.Remotes.Input:FireServer(unpack(args))
  89. wait()
  90. end
  91. end
  92. function four()
  93. while _G.four == true do
  94. local args = {
  95. [1] = {
  96. ["IsKey"] = true,
  97. ["Key"] = Enum.KeyCode.Four,
  98. ["Pressed"] = true}}
  99. game:GetService("Players").LocalPlayer.Character.CharacterHandler.Remotes.Input:FireServer(unpack(args))
  100. wait()
  101. end
  102. end
  103. function five()
  104. while _G.five == true do
  105. local args = {
  106. [1] = {
  107. ["IsKey"] = true,
  108. ["Key"] = Enum.KeyCode.Five,
  109. ["Pressed"] = true}}
  110. game:GetService("Players").LocalPlayer.Character.CharacterHandler.Remotes.Input:FireServer(unpack(args))
  111. wait()
  112. end
  113. end
  114. function autoE()
  115. while _G.autoQ == true do
  116. local args = {
  117. [1] = {
  118. ["IsKey"] = true,
  119. ["Key"] = Enum.KeyCode.E,
  120. ["Pressed"] = true}}
  121. game:GetService("Players").LocalPlayer.Character.CharacterHandler.Remotes.Input:FireServer(unpack(args))
  122. wait()
  123. end
  124. end
  125. function autotp()
  126. while _G.autotp == true do
  127. local Players = game:GetService("Players")
  128. local lp = Players.LocalPlayer
  129.  
  130. local function GetClosestPlayer()
  131. local target = nil
  132. local distance = math.huge
  133.  
  134. for i,v in next, Players:GetPlayers() do
  135. if v and v ~= lp and v.Character and v.Character:FindFirstChildOfClass('Humanoid') and v.Character:FindFirstChildOfClass('Humanoid').RootPart then
  136. local plrdist = lp:DistanceFromCharacter(v.Character:FindFirstChildOfClass('Humanoid').RootPart.CFrame.p)
  137. if plrdist < distance then
  138. target = v
  139. distance = plrdist
  140. end
  141. end
  142. end
  143.  
  144. return target
  145. end
  146.  
  147. lp.Character:FindFirstChildOfClass("Humanoid").RootPart.CFrame = GetClosestPlayer().Character:FindFirstChildOfClass('Humanoid').RootPart.CFrame
  148.  
  149. wait()
  150. end
  151. end
  152. function Evasion()
  153. while _G.evasion == true do
  154. -- Script generated by SimpleSpy - credits to exx#9394
  155.  
  156. game:GetService("Players").LocalPlayer.evasion:InvokeServer()
  157. wait()
  158. end
  159. end
  160. function autoQ()
  161. while _G.autoQ == true do
  162. local args = {
  163. [1] = {
  164. ["IsKey"] = true,
  165. ["Key"] = Enum.KeyCode.Q,
  166. ["Pressed"] = true}}
  167. game:GetService("Players").LocalPlayer.Character.CharacterHandler.Remotes.Input:FireServer(unpack(args))
  168. wait()
  169. end
  170. end
  171. function autoblock()
  172. while _G.autoblock == true do
  173. -- Script generated by SimpleSpy - credits to exx#9394
  174.  
  175. local args = {
  176. [1] = true
  177. }
  178.  
  179. game:GetService("Players").LocalPlayer.block:FireServer(unpack(args))
  180. wait()
  181. end
  182. end
  183. --Buttons
  184. local Section = Tab:AddSection({
  185. Name = "Auto Player"
  186. })
  187. Tab:AddToggle({
  188. Name = "AutofarmPlayer nearest player",
  189. Default = false,
  190. Callback = function(Value)
  191. print(Value)
  192. _G.autotp = Value
  193. autotp()
  194. end
  195. })
  196. Tab:AddToggle({
  197. Name = "AutofarmPlayer",
  198. Default = false,
  199. Callback = function(Value)
  200. print(Value)
  201. _G.AutoPlayer = Value
  202. AutoPlayer()
  203. end
  204. })
  205. Tab:AddToggle({
  206. Name = "Hit",
  207. Default = false,
  208. Callback = function(Value)
  209. print(Value)
  210. _G.hit = Value
  211. hit()
  212. end
  213. })
  214. Tab:AddToggle({
  215. Name = "Evasion",
  216. Default = false,
  217. Callback = function(Value)
  218. print(Value)
  219. _G.Evasion = Value
  220. Evasion()
  221. end
  222. })
  223. Tab:AddToggle({
  224. Name = "Block",
  225. Default = false,
  226. Callback = function(Value)
  227. print(Value)
  228. _G.autoblock = Value
  229. autoblock()
  230. end
  231. })
  232. Tab:AddDropdown({
  233. Name = "SelectPlayer",
  234. Default = "None",
  235. Options = PlayList,
  236. Callback = function(ok)
  237. print(ok)
  238. xdvalue = ok
  239.  
  240. end
  241. })
  242.  
  243.  
  244.  
  245.  
  246.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement