Advertisement
roblox_exploit

ninja legends kingofthehill gui

Oct 27th, 2019
1,607
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.28 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 = "King of the Hill Ver"
  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. if player.Character:FindFirstChildOfClass("Tool") then
  74. player.Character:FindFirstChildOfClass("Tool"):Activate()
  75. else
  76. for i,v in pairs(player.Backpack:GetChildren()) do
  77. if v.ClassName == "Tool" and v:FindFirstChild("attackKatanaScript") then
  78. v.attackTime.Value = 0.2
  79. player.Character.Humanoid:EquipTool(v)
  80. if attackfar then
  81. for i,v in pairs(player.Backpack:GetChildren()) do
  82. if v.ClassName == "Tool" and v:FindFirstChild("attackShurikenScript") then
  83. player.Character.Humanoid:EquipTool(v)
  84. end
  85. end
  86. end
  87. end
  88. end
  89. end
  90. for i,v in pairs(player.PlayerGui.statEffectsGui:GetChildren()) do
  91. if v.Name == "statEffectsScript" then
  92. v:Destroy()
  93. end
  94. end
  95. if player.PlayerGui.gameGui.maxNinjitsuMenu.Visible then
  96. for i,v in pairs(game.workspace.sellAreaCircle:GetChildren()) do
  97. if v.Name == "circleInner" then
  98. v.CFrame=player.Character.HumanoidRootPart.CFrame
  99. end
  100. end
  101. else
  102. for i,v in pairs(game.workspace.sellAreaCircle:GetChildren()) do
  103. if v.Name == "circleInner" then
  104. v.CFrame=player.Character.HumanoidRootPart.CFrame+Vector3.new(0,50,0)
  105. end
  106. end
  107. end
  108. for i,v in pairs(game.Players:GetPlayers()) do
  109. if v.Name ~= game.Players.LocalPlayer.Name and (v.Character.HumanoidRootPart.Position-game.Players.LocalPlayer.Character.HumanoidRootPart.Position).Magnitude < 100 then
  110. attackplayer=true
  111. player.ninjaEvent:FireServer("goInvisible")
  112. end
  113. if v.Name ~= game.Players.LocalPlayer.Name and not v.Character:FindFirstChild("inSafezone") and (v.Character.HumanoidRootPart.Position-game.Players.LocalPlayer.Character.HumanoidRootPart.Position).Magnitude < 255 then
  114. v.Character.Head.Anchored=true
  115. v.Character.Head.Position=game.Players.LocalPlayer.Character.HumanoidRootPart.Position+Vector3.new(1,2,3)
  116. elseif v.Name ~= game.Players.LocalPlayer.Name and v.Character:FindFirstChild("inSafezone") then
  117. v.Character.Head.Anchored=true
  118. attackplayer=false
  119. v.Character.Head.Position=game.Players.LocalPlayer.Character.HumanoidRootPart.Position+Vector3.new(3,20,-3)
  120. end
  121. end
  122. for u,z in pairs(workspace.bossFolder:GetChildren()) do
  123. if z.ClassName == "Model" and z:FindFirstChild("CircutBreakerHead") and attackplayer == false then
  124. z.CircutBreakerHead.Handle.Anchored=true
  125. z.CircutBreakerHead.Handle.Transparency=1
  126. z.UpperTorso.Transparency=1
  127. z.CircutBreakerHead.Handle.CFrame=player.Character.HumanoidRootPart.CFrame
  128. elseif z.ClassName == "Model" and z:FindFirstChild("CircutBreakerHead") and attackplayer == true then
  129. z.CircutBreakerHead.Handle.Anchored=false
  130. z.CircutBreakerHead.Handle.CFrame=player.Character.HumanoidRootPart.CFrame+Vector3.new(0,-50,0)
  131. end
  132. end
  133. for i,v in pairs(workspace:GetChildren()) do
  134. if v.Name == "bossGuiPart" then
  135. v.CFrame=player.Character.HumanoidRootPart.CFrame+Vector3.new(0,20,0)
  136. end
  137. end
  138. for i,v in pairs(workspace.soulPartsFolder:GetChildren()) do
  139. if v.Name == "soulPart" and (player.Character.HumanoidRootPart.Position-v.Position).Magnitude < 100 then
  140. player.ninjaEvent:FireServer("collectSoul",v)
  141. end
  142. end
  143. for i,v in pairs(workspace:GetChildren()) do
  144. if v.Name == "kingOfTheHillPart" then
  145. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=v.CFrame+Vector3.new(-4,5,5)
  146. end
  147. end
  148. --This script was generated by Hydroxide and edited from me
  149. local rank = game.Players.LocalPlayer.leaderstats.Rank.Value
  150. if rank == "Rookie" or rank == "Grasshopper" then
  151. local weapon = {"Ground"}
  152. local belt = {"Ground"}
  153. local buyw = "buyAllSwords"
  154. for i = 1, #weapon do
  155. game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(buyw, weapon[i])
  156. end
  157. local buyb = "buyAllBelts"
  158. for i = 1, #belt do
  159. game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(buyb, belt[i])
  160. end
  161. end
  162. local rank = game.Players.LocalPlayer.leaderstats.Rank.Value
  163. if rank == "Apprentice" then
  164. local weapon = {"Ground", "Astral Island"}
  165. local belt = {"Ground"}
  166. local buyw = "buyAllSwords"
  167. for i = 1, #weapon do
  168. game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(buyw, weapon[i])
  169. end
  170. local buyb = "buyAllBelts"
  171. for i = 1, #belt do
  172. game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(buyb, belt[i])
  173. end
  174. end
  175. local rank = game.Players.LocalPlayer.leaderstats.Rank.Value
  176. if rank == "Samurai" or rank == "Assassin" then
  177. local weapon = {"Space Island"}
  178. local belt = {"Astral Island"}
  179. local buyw = "buyAllSwords"
  180. for i = 1, #weapon do
  181. game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(buyw, weapon[i])
  182. end
  183. local buyb = "buyAllBelts"
  184. for i = 1, #belt do
  185. game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(buyb, belt[i])
  186. end
  187. end
  188. local rank = game.Players.LocalPlayer.leaderstats.Rank.Value
  189. if rank ~= "Rookie" or rank ~= "Apprentice" or rank ~= "Samurai" or rank ~= "Assassin" then
  190. local weapon = {"Tundra Island"}
  191. local belt = {"Space Island"}
  192. local buyw = "buyAllSwords"
  193. for i = 1, #weapon do
  194. game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(buyw, weapon[i])
  195. end
  196. local buyb = "buyAllBelts"
  197. for i = 1, #belt do
  198. game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(buyb, belt[i])
  199. end
  200. local buys = "buyAllSkills"
  201. for i = 1, #belt do
  202. game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(buys, belt[i])
  203. end
  204. end
  205. local rank = "buyAllRanks"
  206. local meh2 = {"Tundra Island"}
  207. for i = 1, #rank do
  208. game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(rank, meh2[i])
  209. end
  210. if ok == false then
  211. RenderStepped:Disconnect()
  212. end
  213. end
  214. end)
  215. -- reav
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement