Advertisement
EPRX

Sword Legends GUI

Mar 17th, 2020
3,464
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.00 KB | None | 0 0
  1. local library = loadstring(game:HttpGet("https://pastebin.com/raw/HYcfs6KC", true))()
  2. library.options.underlinecolor = "rainbow"
  3.  
  4. spawn(function()
  5. game.Players.LocalPlayer.PlayerScripts[":thinking:"]:Remove()
  6. end)
  7.  
  8. local w = library:CreateWindow('eprx#9921')
  9. local e = library:CreateWindow('Bosses')
  10.  
  11. w:Toggle('Auto Swing', {flag = "toggle1"})
  12. spawn(function()
  13. while wait() do
  14. if w.flags.toggle1 then
  15. if game.Players.LocalPlayer.Character:WaitForChild("Humanoid") then
  16. for i2,v2 in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  17. if v2:IsA("Tool") then
  18. local A_1 = v2.Name
  19. local Event = game:GetService("ReplicatedStorage").Hit
  20. Event:FireServer(A_1)
  21. end
  22. end
  23. end
  24. end
  25. end
  26. end)
  27.  
  28. w:Toggle('Auto Sell', {flag = "ioi"})
  29. spawn(function()
  30. while wait() do
  31. if w.flags.ioi then
  32. if game.Players.LocalPlayer.Character:WaitForChild("Humanoid") then
  33. if game.Players.LocalPlayer.PlayerGui.Game.FullBackpack.Visible == true then
  34. local lastpos = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  35. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(559.680542, 557.109802, -1123.10815, 0.705159307, -1.01281217e-09, 0.709048927, 1.02895878e-08, 1, -8.80473294e-09, -0.709048927, 1.35045601e-08, 0.705159307)
  36. wait(1)
  37. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = lastpos
  38. end
  39. end
  40. end
  41. end
  42. end)
  43.  
  44. w:Toggle('Collect Coins', {flag = "toggle2"})
  45. spawn(function()
  46. while wait() do
  47. if w.flags.toggle2 then
  48. if game.Players.LocalPlayer.Character:WaitForChild("Humanoid") then
  49. for i,v in pairs(game:GetService("Workspace").Coins:GetChildren()) do
  50. if v:IsA("MeshPart") then
  51. v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  52. end
  53. end
  54. end
  55. end
  56. end
  57. end)
  58.  
  59. w:Toggle('Collect Gems', {flag = "toggle3"})
  60. spawn(function()
  61. while wait() do
  62. if w.flags.toggle3 then
  63. if game.Players.LocalPlayer.Character:WaitForChild("Humanoid") then
  64. for i,v in pairs(game:GetService("Workspace").Gems:GetChildren()) do
  65. v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  66. end
  67. end
  68. end
  69. end
  70. end)
  71.  
  72. w:Button("Infinite Jumps", function()
  73. game.Players.LocalPlayer.PlayerValues.MaxJumps.Value = math.huge
  74. end)
  75.  
  76. --[[w:Toggle('Auto Kill', {flag = "toggle4"})
  77. spawn(function()
  78. while wait() do
  79. if w.flags.toggle4 then
  80. if game.Players.LocalPlayer.Character:WaitForChild("Humanoid") then
  81. for i2,v2 in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  82. if v2:IsA("Tool") then
  83. for i,v in pairs(game.Players:GetPlayers()) do
  84. if v.Name == "HumanoidRootPart" and v.Parent.Name ~= game.Players.LocalPlayer.Name then
  85. local A_1 = v.Parent.Name
  86. local A_2 = v2.Name
  87. local Event = game:GetService("ReplicatedStorage").Damage
  88. Event:FireServer(A_1, A_2)
  89.  
  90. end
  91. end
  92. end
  93. end
  94. end
  95. end
  96. end
  97. end)]]
  98.  
  99. e:Toggle('Kill Infernus Boss', {flag = "ine"})
  100. spawn(function()
  101. while wait() do
  102. if e.flags.ine then
  103. if game.Players.LocalPlayer.Character:WaitForChild("Humanoid") then
  104. for i2,v2 in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  105. if v2:IsA("Tool") then
  106. tweenService, tweenInfo = game:GetService("TweenService"), TweenInfo.new(0.5, Enum.EasingStyle.Linear)
  107. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  108. tween = tweenService:Create(game:GetService("Players")["LocalPlayer"].Character.HumanoidRootPart, tweenInfo, {CFrame = game:GetService("Workspace").InfernusBoss.HumanoidRootPart.CFrame})
  109. tween:Play()
  110. local A_1 = game:GetService("Workspace").InfernusBoss
  111. local A_2 = v2.Name
  112. local Event = game:GetService("ReplicatedStorage").Damage
  113. Event:FireServer(A_1, A_2)
  114. end
  115. end
  116. end
  117. end
  118. end
  119. end)
  120.  
  121. e:Toggle('Kill Land Boss', {flag = "toggle4"})
  122. spawn(function()
  123. while wait() do
  124. if e.flags.toggle4 then
  125. if game.Players.LocalPlayer.Character:WaitForChild("Humanoid") then
  126. for i2,v2 in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  127. if v2:IsA("Tool") then
  128. tweenService, tweenInfo = game:GetService("TweenService"), TweenInfo.new(0.5, Enum.EasingStyle.Linear)
  129. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  130. tween = tweenService:Create(game:GetService("Players")["LocalPlayer"].Character.HumanoidRootPart, tweenInfo, {CFrame = game:GetService("Workspace").LandBoss.HumanoidRootPart.CFrame})
  131. tween:Play()
  132. local A_1 = game:GetService("Workspace").LandBoss
  133. local A_2 = v2.Name
  134. local Event = game:GetService("ReplicatedStorage").Damage
  135. Event:FireServer(A_1, A_2)
  136. end
  137. end
  138. end
  139. end
  140. end
  141. end)
  142.  
  143. e:Toggle('Kill Desert Boss', {flag = "toggle9"})
  144. spawn(function()
  145. while wait() do
  146. if e.flags.toggle9 then
  147. if game.Players.LocalPlayer.Character:WaitForChild("Humanoid") then
  148. for i2,v2 in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  149. if v2:IsA("Tool") then
  150. tweenService, tweenInfo = game:GetService("TweenService"), TweenInfo.new(0.5, Enum.EasingStyle.Linear)
  151. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  152. tween = tweenService:Create(game:GetService("Players")["LocalPlayer"].Character.HumanoidRootPart, tweenInfo, {CFrame = game:GetService("Workspace").DesertBoss.HumanoidRootPart.CFrame})
  153. tween:Play()
  154. local A_1 = game:GetService("Workspace").DesertBoss
  155. local A_2 = v2.Name
  156. local Event = game:GetService("ReplicatedStorage").Damage
  157. Event:FireServer(A_1, A_2)
  158. end
  159. end
  160. end
  161. end
  162. end
  163. end)
  164.  
  165. e:Toggle('Kill Space Boss', {flag = "lol"})
  166. spawn(function()
  167. while wait() do
  168. if e.flags.lol then
  169. if game.Players.LocalPlayer.Character:WaitForChild("Humanoid") then
  170. for i2,v2 in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  171. if v2:IsA("Tool") then
  172. tweenService, tweenInfo = game:GetService("TweenService"), TweenInfo.new(0.5, Enum.EasingStyle.Linear)
  173. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  174. tween = tweenService:Create(game:GetService("Players")["LocalPlayer"].Character.HumanoidRootPart, tweenInfo, {CFrame = game:GetService("Workspace").SpaceBoss.HumanoidRootPart.CFrame})
  175. tween:Play()
  176. local A_1 = game:GetService("Workspace").SpaceBoss
  177. local A_2 = v2.Name
  178. local Event = game:GetService("ReplicatedStorage").Damage
  179. Event:FireServer(A_1, A_2)
  180. end
  181. end
  182. end
  183. end
  184. end
  185. end)
  186.  
  187. e:Toggle('Kill Hell Boss', {flag = "hel"})
  188. spawn(function()
  189. while wait() do
  190. if e.flags.hel then
  191. if game.Players.LocalPlayer.Character:WaitForChild("Humanoid") then
  192. for i2,v2 in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  193. if v2:IsA("Tool") then
  194. tweenService, tweenInfo = game:GetService("TweenService"), TweenInfo.new(0.5, Enum.EasingStyle.Linear)
  195. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  196. tween = tweenService:Create(game:GetService("Players")["LocalPlayer"].Character.HumanoidRootPart, tweenInfo, {CFrame = game:GetService("Workspace").HellBoss.HumanoidRootPart.CFrame})
  197. tween:Play()
  198. local A_1 = game:GetService("Workspace").HellBoss
  199. local A_2 = v2.Name
  200. local Event = game:GetService("ReplicatedStorage").Damage
  201. Event:FireServer(A_1, A_2)
  202. end
  203. end
  204. end
  205. end
  206. end
  207. end)
  208.  
  209. --[[w:Toggle('Auto Buy Swords', {flag = "toggle5"})
  210. spawn(function()
  211. while wait() do
  212. if w.flags.toggle5 then
  213. if game.Players.LocalPlayer.Character:WaitForChild("Humanoid") then
  214. for i,v in pairs(game.Players.LocalPlayer.PlayerGui.Shop.Opened.Swords.SwordsScroll:GetChildren()) do
  215. if v:IsA("ImageButton") then
  216. local A_1 =
  217. {
  218. ["Cmd"] = "Buy Sword",
  219. ["SwordName"] = v.Name
  220. }
  221. local Event = game:GetService("ReplicatedStorage").CheckSword
  222. Event:InvokeServer(A_1)
  223. end
  224. end
  225. end
  226. end
  227. end
  228. end)]]
  229.  
  230. w:Button("Collect Chests", function()
  231. for i,v in pairs(game.Players.LocalPlayer.Chests:GetChildren()) do
  232. local A_1 =
  233. {
  234. ["Cmd"] = "CheckChest",
  235. ["ChestName"] = v.Name
  236. }
  237. local Event = game:GetService("ReplicatedStorage").Chests
  238. Event:FireServer(A_1)
  239. end
  240. end)
  241.  
  242. w:Button("Twitter Codes", function()
  243. for i,v in pairs(game.Players.LocalPlayer.Codes:GetChildren()) do
  244. local A_1 =
  245. {
  246. ["Code"] = v.Name
  247. }
  248. local Event = game:GetService("ReplicatedStorage").Codes
  249. Event:InvokeServer(A_1)
  250. end
  251. end)
  252.  
  253. w:Button("Remove Sell Pop-up", function()
  254. game.Players.LocalPlayer.PlayerGui.Game.FullBackpack.Position = UDim2.new(-10, -10, -110, -110)
  255. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement