Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ocal gui = Instance.new("ScreenGui",game.CoreGui)
- local frame = Instance.new("Frame",gui)
- local title = Instance.new("TextLabel",frame)
- local chest1 = Instance.new("TextButton",frame)
- local chest2 = Instance.new("TextButton",frame)
- local chest3 = Instance.new("TextButton",frame)
- local chest4 = Instance.new("TextButton",frame)
- local chest5 = Instance.new("TextButton",frame)
- local time1 = Instance.new("TextLabel",frame)
- local time2 = Instance.new("TextLabel",frame)
- local time3 = Instance.new("TextLabel",frame)
- local time4 = Instance.new("TextLabel",frame)
- local time5 = Instance.new("TextLabel",frame)
- local island = Instance.new("TextButton",frame)
- local nin = Instance.new("TextButton",frame)
- local chi = Instance.new("TextButton",frame)
- local gold = Instance.new("TextButton",frame)
- local hoop = Instance.new("TextButton",frame)
- local nograv = Instance.new("TextButton",frame)
- local boss = Instance.new("TextButton",frame)
- local c1 = Color3.new(0,0,0)
- local c2 = Color3.new(0.57,0.57,0.57)
- local c3 = Color3.new(2.55,2.55,2.55)
- local font = Enum.Font.Cartoon
- local b1 = false
- local b2 = false
- local b3 = false
- local b4 = false
- local b5 = false
- local b6 = false
- local tab = {"goldenChest","enchantedChest","magmaChest","mythicalChest","legendsChest"}
- frame.BackgroundColor3 = c2
- frame.BorderColor3 = c1
- frame.BackgroundTransparency = 0.5
- frame.BorderSizePixel = 5
- frame.Position = UDim2.new(0.498,0,0.203,0)
- frame.Size = UDim2.new(0,321,0,352)
- title.BackgroundColor3 = c1
- title.BorderColor3 = c1
- title.BorderSizePixel = 1
- title.Position = UDim2.new(0,0,0,0)
- title.Size = UDim2.new(0,321,0,47)
- title.Font = font
- title.Text = "Ninja Legends Gui by ryan32t#6685"
- title.TextColor3 = c3
- title.TextScaled = true
- chest1.BackgroundColor3 = c1
- chest1.BackgroundTransparency = 0.35
- chest1.BorderColor3 = c1
- chest1.BorderSizePixel = 1
- chest1.Position = UDim2.new(0,0,0.134,0)
- chest1.Size = UDim2.new(0,160,0,25)
- chest1.Font = font
- chest1.Text = "Golden Chest"
- chest1.TextColor3 = c3
- chest1.TextScaled = true
- time1.BackgroundColor3 = c2
- time1.BackgroundTransparency = 0.35
- time1.BorderColor3 = c1
- time1.BorderSizePixel = 1
- time1.Position = UDim2.new(0,0,0.205,0)
- time1.Size = UDim2.new(0,160,0,24)
- time1.Font = font
- time1.Text = "Ready To Collect"
- time1.TextColor3 = c3
- time1.TextScaled = true
- chest2.BackgroundColor3 = c1
- chest2.BackgroundTransparency = 0.35
- chest2.BorderColor3 = c1
- chest2.BorderSizePixel = 1
- chest2.Position = UDim2.new(0,0,0.273,0)
- chest2.Size = UDim2.new(0,160,0,24)
- chest2.Font = font
- chest2.Text = "Enchanted Chest"
- chest2.TextColor3 = c3
- chest2.TextScaled = true
- time2.BackgroundColor3 = c2
- time2.BackgroundTransparency = 0.35
- time2.BorderColor3 = c1
- time2.BorderSizePixel = 1
- time2.Position = UDim2.new(0,0,0.344,0)
- time2.Size = UDim2.new(0,160,0,24)
- time2.Font = font
- time2.Text = "Ready To Collect"
- time2.TextColor3 = c3
- time2.TextScaled = true
- chest3.BackgroundColor3 = c1
- chest3.BackgroundTransparency = 0.35
- chest3.BorderColor3 = c1
- chest3.BorderSizePixel = 1
- chest3.Position = UDim2.new(0,0,0.42,0)
- chest3.Size = UDim2.new(0,160,0,24)
- chest3.Font = font
- chest3.Text = "Magma Chest"
- chest3.TextColor3 = c3
- chest3.TextScaled = true
- time3.BackgroundColor3 = c2
- time3.BackgroundTransparency = 0.35
- time3.BorderColor3 = c1
- time3.BorderSizePixel = 1
- time3.Position = UDim2.new(0,0,0.491,0)
- time3.Size = UDim2.new(0,160,0,24)
- time3.Font = font
- time3.Text = "Ready To Collect"
- time3.TextColor3 = c3
- time3.TextScaled = true
- chest4.BackgroundColor3 = c1
- chest4.BackgroundTransparency = 0.35
- chest4.BorderColor3 = c1
- chest4.BorderSizePixel = 1
- chest4.Position = UDim2.new(0,0,0.56,0)
- chest4.Size = UDim2.new(0,160,0,24)
- chest4.Font = font
- chest4.Text = "Mythical Chest"
- chest4.TextColor3 = c3
- chest4.TextScaled = true
- time4.BackgroundColor3 = c2
- time4.BackgroundTransparency = 0.35
- time4.BorderColor3 = c1
- time4.BorderSizePixel = 1
- time4.Position = UDim2.new(0,0,0.631,0)
- time4.Size = UDim2.new(0,160,0,24)
- time4.Font = font
- time4.Text = "Ready To Collect"
- time4.TextColor3 = c3
- time4.TextScaled = true
- chest5.BackgroundColor3 = c1
- chest5.BackgroundTransparency = 0.35
- chest5.BorderColor3 = c1
- chest5.BorderSizePixel = 1
- chest5.Position = UDim2.new(0,0,0.699,0)
- chest5.Size = UDim2.new(0,160,0,24)
- chest5.Font = font
- chest5.Text = "Legends Chest"
- chest5.TextColor3 = c3
- chest5.TextScaled = true
- time5.BackgroundColor3 = c2
- time5.BackgroundTransparency = 0.35
- time5.BorderColor3 = c1
- time5.BorderSizePixel = 1
- time5.Position = UDim2.new(0,0,0.767,0)
- time5.Size = UDim2.new(0,160,0,24)
- time5.Font = font
- time5.Text = "Ready To Collect"
- time5.TextColor3 = c3
- time5.TextScaled = true
- island.BackgroundColor3 = c2
- island.BackgroundTransparency = 0.35
- island.BorderColor3 = c1
- island.BorderSizePixel = 1
- island.Position = UDim2.new(0.502,0,0.134,0)
- island.Size = UDim2.new(0,160,0,24)
- island.Font = font
- island.Text = "Unlock All Islands"
- island.TextColor3 = c3
- island.TextScaled = true
- chi.BackgroundColor3 = c2
- chi.BackgroundTransparency = 0.35
- chi.BorderColor3 = c1
- chi.BorderSizePixel = 1
- chi.Position = UDim2.new(0.502,0,0.273,0)
- chi.Size = UDim2.new(0,160,0,24)
- chi.Font = font
- chi.Text = "Farm Chi"
- chi.TextColor3 = c3
- chi.TextScaled = true
- nin.BackgroundColor3 = c1
- nin.BackgroundTransparency = 0.35
- nin.BorderColor3 = c1
- nin.BorderSizePixel = 1
- nin.Position = UDim2.new(0.502,0,0.205,0)
- nin.Size = UDim2.new(0,160,0,24)
- nin.Font = font
- nin.Text = "AutoFarm Nin"
- nin.TextColor3 = c3
- nin.TextScaled = true
- gold.BackgroundColor3 = c1
- gold.BackgroundTransparency = 0.35
- gold.BorderColor3 = c1
- gold.BorderSizePixel = 1
- gold.Position = UDim2.new(0.502,0,0.344,0)
- gold.Size = UDim2.new(0,160,0,24)
- gold.Font = font
- gold.Text = "Farm Gold"
- gold.TextColor3 = c3
- gold.TextScaled = true
- hoop.BackgroundColor3 = c2
- hoop.BackgroundTransparency = 0.35
- hoop.BorderColor3 = c1
- hoop.BorderSizePixel = 1
- hoop.Position = UDim2.new(0.502,0,0.42,0)
- hoop.Size = UDim2.new(0,160,0,24)
- hoop.Font = font
- hoop.Text = "AutoFarm Hoop"
- hoop.TextColor3 = c3
- hoop.TextScaled = true
- nograv.BackgroundColor3 = c1
- nograv.BackgroundTransparency = 0.35
- nograv.BorderColor3 = c1
- nograv.BorderSizePixel = 1
- nograv.Position = UDim2.new(0.502,0,0.489,0)
- nograv.Size = UDim2.new(0,160,0,24)
- nograv.Font = font
- nograv.Text = "NoGrav"
- nograv.TextColor3 = c3
- nograv.TextScaled = true
- boss.BackgroundColor3 = c2
- boss.BackgroundTransparency = 0.35
- boss.BorderColor3 = c1
- boss.BorderSizePixel = 1
- boss.Position = UDim2.new(0.502,0,0.557,0)
- boss.Size = UDim2.new(0,160,0,24)
- boss.Font = font
- boss.Text = "AutoFarm RobotBoss"
- boss.TextColor3 = c3
- boss.TextScaled = true
- chest1.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.Character:MoveTo(workspace.goldenChest.circleSignPart.Position)
- end)
- chest2.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.Character:MoveTo(workspace.enchantedChest.circleSignPart.Position)
- end)
- chest3.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.Character:MoveTo(workspace.magmaChest.circleSignPart.Position)
- end)
- chest4.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.Character:MoveTo(workspace.mythicalChest.circleSignPart.Position)
- end)
- chest5.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.Character:MoveTo(workspace.legendsChest.circleSignPart.Position)
- end)
- island.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.areaTeleportParts.groundToEnchantedIsland.CFrame
- wait(1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.areaTeleportParts.groundToAstralIsland.CFrame
- wait(1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.areaTeleportParts.groundToMysticalIsland.CFrame
- wait(1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.areaTeleportParts.groundToSpaceIsland.CFrame
- wait(1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.areaTeleportParts.groundToTundraIsland.CFrame
- end)
- nin.MouseButton1Click:Connect(function()
- b1 = not b1
- if b1 == true then
- repeat
- wait()
- game.Players.LocalPlayer.ninjaEvent:FireServer("swingKatana")
- until b1 == false
- end
- end)
- chi.MouseButton1Click:Connect(function()
- b2 = not b2
- for i,v in pairs(workspace:GetDescendants()) do
- if b2 == false then
- break
- elseif b2 == true then
- if v:IsA"Part" then
- if string.match(v.Name:lower(),"chi",0) then
- game.Players.LocalPlayer.Character:MoveTo(v.Position)
- wait()
- elseif string.match(v.Name:lower(),"chi",4) then
- game.Players.LocalPlayer.Character:MoveTo(v.Position)
- wait()
- end
- end
- end
- end
- end)
- gold.MouseButton1Click:Connect(function()
- b3 = not b3
- for i,v in pairs(workspace:GetDescendants()) do
- if b3 == false then
- break
- elseif b3 == true then
- if v:IsA"Part" then
- if string.match(v.Name:lower(),"coin",0) then
- game.Players.LocalPlayer.Character:MoveTo(v.Position)
- wait()
- elseif string.match(v.Name:lower(),"coin",4) then
- game.Players.LocalPlayer.Character:MoveTo(v.Position)
- wait()
- end
- end
- end
- end
- end)
- hoop.MouseButton1Click:Connect(function()
- b4 = not b4
- if b4 == true then
- repeat
- for i,v in pairs(workspace:GetDescendants()) do
- if v.Name:lower() == "hoop" then
- if v:IsA"MeshPart" then
- if b4 == false then
- break
- elseif b4 == true then
- game.Players.LocalPlayer.Character:MoveTo(v.Position)
- wait()
- end
- end
- end
- end
- until b4 == false
- end
- end)
- nograv.MouseButton1Click:Connect(function()
- b5 = not b5
- if b5 == true then
- repeat
- wait()
- workspace.Gravity = 0
- until b5 == false
- elseif b5 == false then
- repeat
- wait()
- workspace.Gravity = 196.2
- until b5 == true
- end
- end)
- boss.MouseButton1Click:Connect(function()
- b1 = not b1
- if b1 == true then
- repeat
- wait()
- game.Players.LocalPlayer.ninjaEvent:FireServer("swingKatana")
- until b1 == false
- end
- end)
- boss.MouseButton1Click:Connect(function()
- b6 = not b6
- if b6 == true then
- local weld = Instance.new("WeldConstraint")
- for i,v in pairs(workspace:GetDescendants()) do
- if v.Name == "RobotBoss" then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.UpperTorso.CFrame
- weld.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
- weld.Part1 = game.Players.LocalPlayer.Character.HumanoidRootPart
- weld.Part0 = v.UpperTorso
- end
- end
- elseif b6 == false then
- if game.Players.LocalPlayer.Character.HumanoidRootPart:FindFirstChild("WeldConstraint") then
- game.Players.LocalPlayer.Character.HumanoidRootPart.WeldConstraint:Remove()
- end
- end
- end)
- game:GetService("RunService").RenderStepped:Connect(function()
- for i,v in pairs(tab) do
- if workspace[v].circleSignPart.signGui.timeLabel.Text == "Ready To Collect" then
- if i == 1 then
- time1.Text = workspace[v].circleSignPart.signGui.timeLabel.Text
- elseif i == 2 then
- time2.Text = workspace[v].circleSignPart.signGui.timeLabel.Text
- elseif i == 3 then
- time3.Text = workspace[v].circleSignPart.signGui.timeLabel.Text
- elseif i == 4 then
- time4.Text = workspace[v].circleSignPart.signGui.timeLabel.Text
- elseif i == 5 then
- time5.Text = workspace[v].circleSignPart.signGui.timeLabel.Text
- end
- elseif workspace[v].circleSignPart.signGui.timeLabel.Text ~= "Ready To Collect" then
- if i == 1 then
- time1.Text = string.sub(workspace[v].circleSignPart.signGui.timeLabel.Text,12,20)
- elseif i == 2 then
- time2.Text = string.sub(workspace[v].circleSignPart.signGui.timeLabel.Text,12,20)
- elseif i == 3 then
- time3.Text = string.sub(workspace[v].circleSignPart.signGui.timeLabel.Text,12,20)
- elseif i == 4 then
- time4.Text = string.sub(workspace[v].circleSignPart.signGui.timeLabel.Text,12,20)
- elseif i == 5 then
- time5.Text = string.sub(workspace[v].circleSignPart.signGui.timeLabel.Text,12,20)
- end
- end
- end
- end)
- game:GetService("UserInputService").InputBegan:Connect(function(k,b)
- local key = k.KeyCode
- if b == false then
- if key == Enum.KeyCode.P then
- frame.Visible = not frame.Visible
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement