Advertisement
roblox_exploit

ninja legends gui

Oct 27th, 2019
911
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.54 KB | None | 0 0
  1. -- reav
  2. local ok = false
  3. local player = game.Players.LocalPlayer
  4. local VirtualUser=game:service'VirtualUser'
  5. game:service'Players'.LocalPlayer.Idled:connect(function()
  6. print("reav")
  7. VirtualUser:CaptureController()
  8. VirtualUser:ClickButton2(Vector2.new())
  9. end)
  10. -- Objects
  11. local ScreenGui = Instance.new("ScreenGui")
  12. local Frame = Instance.new("Frame")
  13. local TextButton = Instance.new("TextButton")
  14. local TextLabel = Instance.new("TextLabel")
  15. local TextLabel_2 = Instance.new("TextLabel")
  16. -- Properties
  17.  
  18. ScreenGui.Parent = game:GetService("CoreGui")
  19.  
  20. Frame.Parent = ScreenGui
  21. Frame.BackgroundColor3 = Color3.new(0.301961, 0.301961, 0.301961)
  22. Frame.BorderColor3 = Color3.new(0, 0, 0)
  23. Frame.Position = UDim2.new(0.172302201, 0, 0.29214862, 0)
  24. Frame.Selectable = true
  25. Frame.Size = UDim2.new(0, 199, 0, 130)
  26. Frame.Active = true
  27. Frame.Draggable = true
  28.  
  29. TextButton.Parent = Frame
  30. TextButton.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  31. TextButton.Position = UDim2.new(0.0327655859, 0, 0.337103128, 0)
  32. TextButton.Size = UDim2.new(0, 189, 0, 50)
  33. TextButton.Font = Enum.Font.SciFi
  34. TextButton.Text = "FARM = OFF"
  35. TextButton.TextColor3 = Color3.new(0.541176, 0, 0)
  36. TextButton.TextSize = 40
  37.  
  38. TextLabel.Parent = Frame
  39. TextLabel.BackgroundColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  40. TextLabel.BorderSizePixel = 0
  41. TextLabel.Position = UDim2.new(-0.00161084533, 0, -0.00398874283, 0)
  42. TextLabel.Size = UDim2.new(0, 201, 0, 25)
  43. TextLabel.Font = Enum.Font.SciFi
  44. TextLabel.Text = "⚡ Ninja Legends - by reav"
  45. TextLabel.TextColor3 = Color3.new(0.439216, 0.709804, 0)
  46. TextLabel.TextSize = 14
  47.  
  48. TextLabel_2.Parent = Frame
  49. TextLabel_2.BackgroundColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  50. TextLabel_2.BackgroundTransparency = 100
  51. TextLabel_2.BorderColor3 = Color3.new(0, 0, 0)
  52. TextLabel_2.Position = UDim2.new(-0.00572396815, 0, 0.843203187, 0)
  53. TextLabel_2.Size = UDim2.new(0, 200, 0, 5)
  54. TextLabel_2.Font = Enum.Font.SciFi
  55. TextLabel_2.Text = "Just another simulator"
  56. TextLabel_2.TextColor3 = Color3.new(1, 1, 0)
  57. TextLabel_2.TextSize = 15
  58.  
  59. TextButton.MouseButton1Down:connect(function()
  60. if ok then
  61. TextButton.Text = "FARM = OFF"
  62. TextButton.TextColor3 = Color3.new(0.541176, 0, 0)
  63. else
  64. TextButton.Text = "FARM = ON"
  65. TextButton.TextColor3 = Color3.fromRGB(0, 134, 0)
  66. end
  67. ok = not ok
  68. end)
  69. local runService = game:GetService('RunService')
  70. local RenderStepped
  71. RenderStepped = runService.Stepped:Connect(function()
  72. if ok then
  73. game.Players.LocalPlayer.Character:WaitForChild("Humanoid"):ChangeState(11)
  74. if player.Character:FindFirstChildOfClass("Tool") then
  75. player.Character:FindFirstChildOfClass("Tool"):Activate()
  76. else
  77. for i,v in pairs(player.Backpack:GetChildren()) do
  78. if v.ClassName == "Tool" and v:FindFirstChild("attackKatanaScript") then
  79. player.Character.Humanoid:EquipTool(v)
  80. else wait()
  81. end
  82. end
  83. end
  84. if player.PlayerGui.gameGui.maxNinjitsuMenu.Visible then
  85. for i,v in pairs(game.workspace.sellAreaCircle:GetChildren()) do
  86. if v.Name == "circleInner" then
  87. v.CFrame=player.Character.HumanoidRootPart.CFrame
  88. end
  89. end
  90. else
  91. for i,v in pairs(game.workspace.sellAreaCircle:GetChildren()) do
  92. if v.Name == "circleInner" then
  93. v.CFrame=player.Character.HumanoidRootPart.CFrame+Vector3.new(0,50,0)
  94. end
  95. end
  96. end
  97. for i,v in pairs(workspace.spawnedCoins:GetDescendants()) do
  98. if string.find(v.Name, "Chi Crate") then
  99. player.Character.HumanoidRootPart.CFrame=v.CFrame
  100. end
  101. end
  102. for i,v in pairs(player.PlayerGui.statEffectsGui:GetChildren()) do
  103. if v.Name == "statEffectsScript" then
  104. v:Destroy()
  105. end
  106. end
  107. for i,v in pairs(workspace.bossFolder:GetChildren()) do
  108. if v.ClassName == "Model" and v:FindFirstChild("HumanoidRootPart") then
  109. v.HumanoidRootPart.Anchored=true
  110. v.HumanoidRootPart.CFrame=player.Character.HumanoidRootPart.CFrame+Vector3.new(0,0,0)
  111. end
  112. end
  113. local rank = game.Players.LocalPlayer.leaderstats.Rank.Value
  114. if rank == "Rookie" or rank == "Grasshopper" then
  115. local weapon = {"Ground"}
  116. local belt = {"Ground"}
  117. local buyw = "buyAllSwords"
  118. for i = 1, #weapon do
  119. game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(buyw, weapon[i])
  120. end
  121. local buyb = "buyAllBelts"
  122. for i = 1, #belt do
  123. game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(buyb, belt[i])
  124. end
  125. end
  126. local rank = game.Players.LocalPlayer.leaderstats.Rank.Value
  127. if rank == "Apprentice" then
  128. local weapon = {"Ground", "Astral Island"}
  129. local belt = {"Ground"}
  130. local buyw = "buyAllSwords"
  131. for i = 1, #weapon do
  132. game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(buyw, weapon[i])
  133. end
  134. local buyb = "buyAllBelts"
  135. for i = 1, #belt do
  136. game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(buyb, belt[i])
  137. end
  138. end
  139. local rank = game.Players.LocalPlayer.leaderstats.Rank.Value
  140. if rank == "Samurai" or rank == "Assassin" then
  141. local weapon = {"Ground", "Astral Island", "Space Island"}
  142. local belt = {"Ground", "Astral Island"}
  143. local buyw = "buyAllSwords"
  144. for i = 1, #weapon do
  145. game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(buyw, weapon[i])
  146. end
  147. local buyb = "buyAllBelts"
  148. for i = 1, #belt do
  149. game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(buyb, belt[i])
  150. end
  151. end
  152. local rank = game.Players.LocalPlayer.leaderstats.Rank.Value
  153. if rank ~= "Rookie" or rank ~= "Apprentice" or rank ~= "Samurai" or rank ~= "Assassin" then
  154. local weapon = {"Ground", "Astral Island", "Space Island", "Tundra Island"}
  155. local belt = {"Ground", "Astral Island", "Space Island", "Tundra Island"}
  156. local buyw = "buyAllSwords"
  157. for i = 1, #weapon do
  158. game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(buyw, weapon[i])
  159. end
  160. local buyb = "buyAllBelts"
  161. for i = 1, #belt do
  162. game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(buyb, belt[i])
  163. end
  164. local buys = "buyAllSkills"
  165. for i = 1, #belt do
  166. game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(buys, belt[i])
  167. end
  168. end
  169. local rank = "buyAllRanks"
  170. local meh2 = {"Ground", "Astral Island", "Space Island", "Tundra Island"}
  171. for i = 1, #rank do
  172. game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(rank, meh2[i])
  173. end
  174. ---------------------------------------
  175. if ok == false then
  176. RenderStepped:Disconnect()
  177. end
  178. end
  179. end)
  180. -- reav
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement