SHARE
TWEET

Untitled

a guest Nov 22nd, 2019 113 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ocal gui = Instance.new("ScreenGui",game.CoreGui)
  2. local frame = Instance.new("Frame",gui)
  3. local title = Instance.new("TextLabel",frame)
  4. local chest1 = Instance.new("TextButton",frame)
  5. local chest2 = Instance.new("TextButton",frame)
  6. local chest3 = Instance.new("TextButton",frame)
  7. local chest4 = Instance.new("TextButton",frame)
  8. local chest5 = Instance.new("TextButton",frame)
  9. local time1 = Instance.new("TextLabel",frame)
  10. local time2 = Instance.new("TextLabel",frame)
  11. local time3 = Instance.new("TextLabel",frame)
  12. local time4 = Instance.new("TextLabel",frame)
  13. local time5 = Instance.new("TextLabel",frame)
  14. local island = Instance.new("TextButton",frame)
  15. local nin = Instance.new("TextButton",frame)
  16. local chi = Instance.new("TextButton",frame)
  17. local gold = Instance.new("TextButton",frame)
  18. local hoop = Instance.new("TextButton",frame)
  19. local nograv = Instance.new("TextButton",frame)
  20. local boss = Instance.new("TextButton",frame)
  21. local c1 = Color3.new(0,0,0)
  22. local c2 = Color3.new(0.57,0.57,0.57)
  23. local c3 = Color3.new(2.55,2.55,2.55)
  24. local font = Enum.Font.Cartoon
  25. local b1 = false
  26. local b2 = false
  27. local b3 = false
  28. local b4 = false
  29. local b5 = false
  30. local b6 = false
  31. local tab = {"goldenChest","enchantedChest","magmaChest","mythicalChest","legendsChest"}
  32. frame.BackgroundColor3 = c2
  33. frame.BorderColor3 = c1
  34. frame.BackgroundTransparency = 0.5
  35. frame.BorderSizePixel = 5
  36. frame.Position = UDim2.new(0.498,0,0.203,0)
  37. frame.Size = UDim2.new(0,321,0,352)
  38. title.BackgroundColor3 = c1
  39. title.BorderColor3 = c1
  40. title.BorderSizePixel = 1
  41. title.Position = UDim2.new(0,0,0,0)
  42. title.Size = UDim2.new(0,321,0,47)
  43. title.Font = font
  44. title.Text = "Ninja Legends Gui by ryan32t#6685"
  45. title.TextColor3 = c3
  46. title.TextScaled = true
  47. chest1.BackgroundColor3 = c1
  48. chest1.BackgroundTransparency = 0.35
  49. chest1.BorderColor3 = c1
  50. chest1.BorderSizePixel = 1
  51. chest1.Position = UDim2.new(0,0,0.134,0)
  52. chest1.Size = UDim2.new(0,160,0,25)
  53. chest1.Font = font
  54. chest1.Text = "Golden Chest"
  55. chest1.TextColor3 = c3
  56. chest1.TextScaled = true
  57. time1.BackgroundColor3 = c2
  58. time1.BackgroundTransparency = 0.35
  59. time1.BorderColor3 = c1
  60. time1.BorderSizePixel = 1
  61. time1.Position = UDim2.new(0,0,0.205,0)
  62. time1.Size = UDim2.new(0,160,0,24)
  63. time1.Font = font
  64. time1.Text = "Ready To Collect"
  65. time1.TextColor3 = c3
  66. time1.TextScaled = true
  67. chest2.BackgroundColor3 = c1
  68. chest2.BackgroundTransparency = 0.35
  69. chest2.BorderColor3 = c1
  70. chest2.BorderSizePixel = 1
  71. chest2.Position = UDim2.new(0,0,0.273,0)
  72. chest2.Size = UDim2.new(0,160,0,24)
  73. chest2.Font = font
  74. chest2.Text = "Enchanted Chest"
  75. chest2.TextColor3 = c3
  76. chest2.TextScaled = true
  77. time2.BackgroundColor3 = c2
  78. time2.BackgroundTransparency = 0.35
  79. time2.BorderColor3 = c1
  80. time2.BorderSizePixel = 1
  81. time2.Position = UDim2.new(0,0,0.344,0)
  82. time2.Size = UDim2.new(0,160,0,24)
  83. time2.Font = font
  84. time2.Text = "Ready To Collect"
  85. time2.TextColor3 = c3
  86. time2.TextScaled = true
  87. chest3.BackgroundColor3 = c1
  88. chest3.BackgroundTransparency = 0.35
  89. chest3.BorderColor3 = c1
  90. chest3.BorderSizePixel = 1
  91. chest3.Position = UDim2.new(0,0,0.42,0)
  92. chest3.Size = UDim2.new(0,160,0,24)
  93. chest3.Font = font
  94. chest3.Text = "Magma Chest"
  95. chest3.TextColor3 = c3
  96. chest3.TextScaled = true
  97. time3.BackgroundColor3 = c2
  98. time3.BackgroundTransparency = 0.35
  99. time3.BorderColor3 = c1
  100. time3.BorderSizePixel = 1
  101. time3.Position = UDim2.new(0,0,0.491,0)
  102. time3.Size = UDim2.new(0,160,0,24)
  103. time3.Font = font
  104. time3.Text = "Ready To Collect"
  105. time3.TextColor3 = c3
  106. time3.TextScaled = true
  107. chest4.BackgroundColor3 = c1
  108. chest4.BackgroundTransparency = 0.35
  109. chest4.BorderColor3 = c1
  110. chest4.BorderSizePixel = 1
  111. chest4.Position = UDim2.new(0,0,0.56,0)
  112. chest4.Size = UDim2.new(0,160,0,24)
  113. chest4.Font = font
  114. chest4.Text = "Mythical Chest"
  115. chest4.TextColor3 = c3
  116. chest4.TextScaled = true
  117. time4.BackgroundColor3 = c2
  118. time4.BackgroundTransparency = 0.35
  119. time4.BorderColor3 = c1
  120. time4.BorderSizePixel = 1
  121. time4.Position = UDim2.new(0,0,0.631,0)
  122. time4.Size = UDim2.new(0,160,0,24)
  123. time4.Font = font
  124. time4.Text = "Ready To Collect"
  125. time4.TextColor3 = c3
  126. time4.TextScaled = true
  127. chest5.BackgroundColor3 = c1
  128. chest5.BackgroundTransparency = 0.35
  129. chest5.BorderColor3 = c1
  130. chest5.BorderSizePixel = 1
  131. chest5.Position = UDim2.new(0,0,0.699,0)
  132. chest5.Size = UDim2.new(0,160,0,24)
  133. chest5.Font = font
  134. chest5.Text = "Legends Chest"
  135. chest5.TextColor3 = c3
  136. chest5.TextScaled = true
  137. time5.BackgroundColor3 = c2
  138. time5.BackgroundTransparency = 0.35
  139. time5.BorderColor3 = c1
  140. time5.BorderSizePixel = 1
  141. time5.Position = UDim2.new(0,0,0.767,0)
  142. time5.Size = UDim2.new(0,160,0,24)
  143. time5.Font = font
  144. time5.Text = "Ready To Collect"
  145. time5.TextColor3 = c3
  146. time5.TextScaled = true
  147. island.BackgroundColor3 = c2
  148. island.BackgroundTransparency = 0.35
  149. island.BorderColor3 = c1
  150. island.BorderSizePixel = 1
  151. island.Position = UDim2.new(0.502,0,0.134,0)
  152. island.Size = UDim2.new(0,160,0,24)
  153. island.Font = font
  154. island.Text = "Unlock All Islands"
  155. island.TextColor3 = c3
  156. island.TextScaled = true
  157. chi.BackgroundColor3 = c2
  158. chi.BackgroundTransparency = 0.35
  159. chi.BorderColor3 = c1
  160. chi.BorderSizePixel = 1
  161. chi.Position = UDim2.new(0.502,0,0.273,0)
  162. chi.Size = UDim2.new(0,160,0,24)
  163. chi.Font = font
  164. chi.Text = "Farm Chi"
  165. chi.TextColor3 = c3
  166. chi.TextScaled = true
  167. nin.BackgroundColor3 = c1
  168. nin.BackgroundTransparency = 0.35
  169. nin.BorderColor3 = c1
  170. nin.BorderSizePixel = 1
  171. nin.Position = UDim2.new(0.502,0,0.205,0)
  172. nin.Size = UDim2.new(0,160,0,24)
  173. nin.Font = font
  174. nin.Text = "AutoFarm Nin"
  175. nin.TextColor3 = c3
  176. nin.TextScaled = true
  177. gold.BackgroundColor3 = c1
  178. gold.BackgroundTransparency = 0.35
  179. gold.BorderColor3 = c1
  180. gold.BorderSizePixel = 1
  181. gold.Position = UDim2.new(0.502,0,0.344,0)
  182. gold.Size = UDim2.new(0,160,0,24)
  183. gold.Font = font
  184. gold.Text = "Farm Gold"
  185. gold.TextColor3 = c3
  186. gold.TextScaled = true
  187. hoop.BackgroundColor3 = c2
  188. hoop.BackgroundTransparency = 0.35
  189. hoop.BorderColor3 = c1
  190. hoop.BorderSizePixel = 1
  191. hoop.Position = UDim2.new(0.502,0,0.42,0)
  192. hoop.Size = UDim2.new(0,160,0,24)
  193. hoop.Font = font
  194. hoop.Text = "AutoFarm Hoop"
  195. hoop.TextColor3 = c3
  196. hoop.TextScaled = true
  197. nograv.BackgroundColor3 = c1
  198. nograv.BackgroundTransparency = 0.35
  199. nograv.BorderColor3 = c1
  200. nograv.BorderSizePixel = 1
  201. nograv.Position = UDim2.new(0.502,0,0.489,0)
  202. nograv.Size = UDim2.new(0,160,0,24)
  203. nograv.Font = font
  204. nograv.Text = "NoGrav"
  205. nograv.TextColor3 = c3
  206. nograv.TextScaled = true
  207. boss.BackgroundColor3 = c2
  208. boss.BackgroundTransparency = 0.35
  209. boss.BorderColor3 = c1
  210. boss.BorderSizePixel = 1
  211. boss.Position = UDim2.new(0.502,0,0.557,0)
  212. boss.Size = UDim2.new(0,160,0,24)
  213. boss.Font = font
  214. boss.Text = "AutoFarm RobotBoss"
  215. boss.TextColor3 = c3
  216. boss.TextScaled = true
  217. chest1.MouseButton1Click:Connect(function()
  218. game.Players.LocalPlayer.Character:MoveTo(workspace.goldenChest.circleSignPart.Position)
  219. end)
  220. chest2.MouseButton1Click:Connect(function()
  221. game.Players.LocalPlayer.Character:MoveTo(workspace.enchantedChest.circleSignPart.Position)
  222. end)
  223. chest3.MouseButton1Click:Connect(function()
  224. game.Players.LocalPlayer.Character:MoveTo(workspace.magmaChest.circleSignPart.Position)
  225. end)
  226. chest4.MouseButton1Click:Connect(function()
  227. game.Players.LocalPlayer.Character:MoveTo(workspace.mythicalChest.circleSignPart.Position)
  228. end)
  229. chest5.MouseButton1Click:Connect(function()
  230. game.Players.LocalPlayer.Character:MoveTo(workspace.legendsChest.circleSignPart.Position)
  231. end)
  232. island.MouseButton1Click:Connect(function()
  233. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =  game.Workspace.areaTeleportParts.groundToEnchantedIsland.CFrame
  234. wait(1)
  235. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =  game.Workspace.areaTeleportParts.groundToAstralIsland.CFrame
  236. wait(1)
  237. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =  game.Workspace.areaTeleportParts.groundToMysticalIsland.CFrame
  238. wait(1)
  239. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =  game.Workspace.areaTeleportParts.groundToSpaceIsland.CFrame
  240. wait(1)
  241. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =  game.Workspace.areaTeleportParts.groundToTundraIsland.CFrame
  242. end)
  243. nin.MouseButton1Click:Connect(function()
  244. b1 = not b1
  245. if b1 == true then
  246. repeat
  247. wait()
  248. game.Players.LocalPlayer.ninjaEvent:FireServer("swingKatana")
  249. until b1 == false
  250. end
  251. end)
  252. chi.MouseButton1Click:Connect(function()
  253. b2 = not b2
  254. for i,v in pairs(workspace:GetDescendants()) do
  255. if b2 == false then
  256. break
  257. elseif b2 == true then
  258. if v:IsA"Part" then
  259. if string.match(v.Name:lower(),"chi",0) then
  260. game.Players.LocalPlayer.Character:MoveTo(v.Position)
  261. wait()
  262. elseif string.match(v.Name:lower(),"chi",4) then
  263. game.Players.LocalPlayer.Character:MoveTo(v.Position)
  264. wait()
  265. end
  266. end
  267. end
  268. end
  269. end)
  270. gold.MouseButton1Click:Connect(function()
  271. b3 = not b3
  272. for i,v in pairs(workspace:GetDescendants()) do
  273. if b3 == false then
  274. break
  275. elseif b3 == true then
  276. if v:IsA"Part" then
  277. if string.match(v.Name:lower(),"coin",0) then
  278. game.Players.LocalPlayer.Character:MoveTo(v.Position)
  279. wait()
  280. elseif string.match(v.Name:lower(),"coin",4) then
  281. game.Players.LocalPlayer.Character:MoveTo(v.Position)
  282. wait()
  283. end
  284. end
  285. end
  286. end
  287. end)
  288. hoop.MouseButton1Click:Connect(function()
  289. b4 = not b4
  290. if b4 == true then
  291. repeat
  292. for i,v in pairs(workspace:GetDescendants()) do
  293. if v.Name:lower() == "hoop" then
  294. if v:IsA"MeshPart" then
  295. if b4 == false then
  296. break
  297. elseif b4 == true then
  298. game.Players.LocalPlayer.Character:MoveTo(v.Position)
  299. wait()
  300. end
  301. end
  302. end
  303. end
  304. until b4 == false
  305. end
  306. end)
  307. nograv.MouseButton1Click:Connect(function()
  308. b5 = not b5
  309. if b5 == true then
  310. repeat
  311. wait()
  312. workspace.Gravity = 0
  313. until b5 == false
  314. elseif b5 == false then
  315. repeat
  316. wait()
  317. workspace.Gravity = 196.2
  318. until b5 == true
  319. end
  320. end)
  321. boss.MouseButton1Click:Connect(function()
  322. b1 = not b1
  323. if b1 == true then
  324. repeat
  325. wait()
  326. game.Players.LocalPlayer.ninjaEvent:FireServer("swingKatana")
  327. until b1 == false
  328. end
  329. end)
  330. boss.MouseButton1Click:Connect(function()
  331. b6 = not b6
  332. if b6 == true then
  333. local weld = Instance.new("WeldConstraint")
  334. for i,v in pairs(workspace:GetDescendants()) do
  335. if v.Name == "RobotBoss" then
  336. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.UpperTorso.CFrame
  337. weld.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  338. weld.Part1 = game.Players.LocalPlayer.Character.HumanoidRootPart
  339. weld.Part0 = v.UpperTorso
  340. end
  341. end
  342. elseif b6 == false then
  343. if game.Players.LocalPlayer.Character.HumanoidRootPart:FindFirstChild("WeldConstraint") then
  344. game.Players.LocalPlayer.Character.HumanoidRootPart.WeldConstraint:Remove()
  345. end
  346. end
  347. end)
  348. game:GetService("RunService").RenderStepped:Connect(function()
  349. for i,v in pairs(tab) do
  350. if workspace[v].circleSignPart.signGui.timeLabel.Text == "Ready To Collect" then
  351. if i == 1 then
  352. time1.Text = workspace[v].circleSignPart.signGui.timeLabel.Text
  353. elseif i == 2 then
  354. time2.Text = workspace[v].circleSignPart.signGui.timeLabel.Text
  355. elseif i == 3 then
  356. time3.Text = workspace[v].circleSignPart.signGui.timeLabel.Text
  357. elseif i == 4 then
  358. time4.Text = workspace[v].circleSignPart.signGui.timeLabel.Text
  359. elseif i == 5 then
  360. time5.Text = workspace[v].circleSignPart.signGui.timeLabel.Text
  361. end
  362. elseif workspace[v].circleSignPart.signGui.timeLabel.Text ~= "Ready To Collect" then
  363. if i == 1 then
  364. time1.Text = string.sub(workspace[v].circleSignPart.signGui.timeLabel.Text,12,20)
  365. elseif i == 2 then
  366. time2.Text = string.sub(workspace[v].circleSignPart.signGui.timeLabel.Text,12,20)
  367. elseif i == 3 then
  368. time3.Text = string.sub(workspace[v].circleSignPart.signGui.timeLabel.Text,12,20)
  369. elseif i == 4 then
  370. time4.Text = string.sub(workspace[v].circleSignPart.signGui.timeLabel.Text,12,20)
  371. elseif i == 5 then
  372. time5.Text = string.sub(workspace[v].circleSignPart.signGui.timeLabel.Text,12,20)
  373. end
  374. end
  375. end
  376. end)
  377. game:GetService("UserInputService").InputBegan:Connect(function(k,b)
  378. local key = k.KeyCode
  379. if b == false then
  380. if key == Enum.KeyCode.P then
  381. frame.Visible = not frame.Visible
  382. end
  383. end
  384. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top