Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --reav
- local ok = false
- local player = game.Players.LocalPlayer
- local VirtualUser=game:service'VirtualUser'
- game:service'Players'.LocalPlayer.Idled:connect(function()
- print("reav")
- VirtualUser:CaptureController()
- VirtualUser:ClickButton2(Vector2.new())
- end)
- -- Objects
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- local TextLabel_2 = Instance.new("TextLabel")
- -- Properties
- ScreenGui.Parent = game:GetService("CoreGui")
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(0.301961, 0.301961, 0.301961)
- Frame.BorderColor3 = Color3.new(0, 0, 0)
- Frame.Position = UDim2.new(0.172302201, 0, 0.29214862, 0)
- Frame.Selectable = true
- Frame.Size = UDim2.new(0, 199, 0, 130)
- Frame.Active = true
- Frame.Draggable = true
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
- TextButton.Position = UDim2.new(0.0327655859, 0, 0.337103128, 0)
- TextButton.Size = UDim2.new(0, 189, 0, 50)
- TextButton.Font = Enum.Font.SciFi
- TextButton.Text = "FARM = OFF"
- TextButton.TextColor3 = Color3.new(0.541176, 0, 0)
- TextButton.TextSize = 40
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.new(0.207843, 0.207843, 0.207843)
- TextLabel.BorderSizePixel = 0
- TextLabel.Position = UDim2.new(-0.00161084533, 0, -0.00398874283, 0)
- TextLabel.Size = UDim2.new(0, 201, 0, 25)
- TextLabel.Font = Enum.Font.SciFi
- TextLabel.Text = "⚡ Ninja Legends - by reav"
- TextLabel.TextColor3 = Color3.new(0.439216, 0.709804, 0)
- TextLabel.TextSize = 14
- TextLabel_2.Parent = Frame
- TextLabel_2.BackgroundColor3 = Color3.new(0.207843, 0.207843, 0.207843)
- TextLabel_2.BackgroundTransparency = 100
- TextLabel_2.BorderColor3 = Color3.new(0, 0, 0)
- TextLabel_2.Position = UDim2.new(-0.00572396815, 0, 0.843203187, 0)
- TextLabel_2.Size = UDim2.new(0, 200, 0, 5)
- TextLabel_2.Font = Enum.Font.SciFi
- TextLabel_2.Text = "King of the Hill Ver"
- TextLabel_2.TextColor3 = Color3.new(1, 1, 0)
- TextLabel_2.TextSize = 15
- TextButton.MouseButton1Down:connect(function()
- if ok then
- TextButton.Text = "FARM = OFF"
- TextButton.TextColor3 = Color3.new(0.541176, 0, 0)
- else
- TextButton.Text = "FARM = ON"
- TextButton.TextColor3 = Color3.fromRGB(0, 134, 0)
- end
- ok = not ok
- end)
- local runService = game:GetService('RunService')
- local RenderStepped
- RenderStepped = runService.Stepped:Connect(function()
- if ok then
- if player.Character:FindFirstChildOfClass("Tool") then
- player.Character:FindFirstChildOfClass("Tool"):Activate()
- else
- for i,v in pairs(player.Backpack:GetChildren()) do
- if v.ClassName == "Tool" and v:FindFirstChild("attackKatanaScript") then
- v.attackTime.Value = 0.2
- player.Character.Humanoid:EquipTool(v)
- if attackfar then
- for i,v in pairs(player.Backpack:GetChildren()) do
- if v.ClassName == "Tool" and v:FindFirstChild("attackShurikenScript") then
- player.Character.Humanoid:EquipTool(v)
- end
- end
- end
- end
- end
- end
- for i,v in pairs(player.PlayerGui.statEffectsGui:GetChildren()) do
- if v.Name == "statEffectsScript" then
- v:Destroy()
- end
- end
- if player.PlayerGui.gameGui.maxNinjitsuMenu.Visible then
- for i,v in pairs(game.workspace.sellAreaCircle:GetChildren()) do
- if v.Name == "circleInner" then
- v.CFrame=player.Character.HumanoidRootPart.CFrame
- end
- end
- else
- for i,v in pairs(game.workspace.sellAreaCircle:GetChildren()) do
- if v.Name == "circleInner" then
- v.CFrame=player.Character.HumanoidRootPart.CFrame+Vector3.new(0,50,0)
- end
- end
- end
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name ~= game.Players.LocalPlayer.Name and (v.Character.HumanoidRootPart.Position-game.Players.LocalPlayer.Character.HumanoidRootPart.Position).Magnitude < 100 then
- attackplayer=true
- player.ninjaEvent:FireServer("goInvisible")
- end
- 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
- v.Character.Head.Anchored=true
- v.Character.Head.Position=game.Players.LocalPlayer.Character.HumanoidRootPart.Position+Vector3.new(1,2,3)
- elseif v.Name ~= game.Players.LocalPlayer.Name and v.Character:FindFirstChild("inSafezone") then
- v.Character.Head.Anchored=true
- attackplayer=false
- v.Character.Head.Position=game.Players.LocalPlayer.Character.HumanoidRootPart.Position+Vector3.new(3,20,-3)
- end
- end
- for u,z in pairs(workspace.bossFolder:GetChildren()) do
- if z.ClassName == "Model" and z:FindFirstChild("CircutBreakerHead") and attackplayer == false then
- z.CircutBreakerHead.Handle.Anchored=true
- z.CircutBreakerHead.Handle.Transparency=1
- z.UpperTorso.Transparency=1
- z.CircutBreakerHead.Handle.CFrame=player.Character.HumanoidRootPart.CFrame
- elseif z.ClassName == "Model" and z:FindFirstChild("CircutBreakerHead") and attackplayer == true then
- z.CircutBreakerHead.Handle.Anchored=false
- z.CircutBreakerHead.Handle.CFrame=player.Character.HumanoidRootPart.CFrame+Vector3.new(0,-50,0)
- end
- end
- for i,v in pairs(workspace:GetChildren()) do
- if v.Name == "bossGuiPart" then
- v.CFrame=player.Character.HumanoidRootPart.CFrame+Vector3.new(0,20,0)
- end
- end
- for i,v in pairs(workspace.soulPartsFolder:GetChildren()) do
- if v.Name == "soulPart" and (player.Character.HumanoidRootPart.Position-v.Position).Magnitude < 100 then
- player.ninjaEvent:FireServer("collectSoul",v)
- end
- end
- for i,v in pairs(workspace:GetChildren()) do
- if v.Name == "kingOfTheHillPart" then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=v.CFrame+Vector3.new(-4,5,5)
- end
- end
- --This script was generated by Hydroxide and edited from me
- local rank = game.Players.LocalPlayer.leaderstats.Rank.Value
- if rank == "Rookie" or rank == "Grasshopper" then
- local weapon = {"Ground"}
- local belt = {"Ground"}
- local buyw = "buyAllSwords"
- for i = 1, #weapon do
- game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(buyw, weapon[i])
- end
- local buyb = "buyAllBelts"
- for i = 1, #belt do
- game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(buyb, belt[i])
- end
- end
- local rank = game.Players.LocalPlayer.leaderstats.Rank.Value
- if rank == "Apprentice" then
- local weapon = {"Ground", "Astral Island"}
- local belt = {"Ground"}
- local buyw = "buyAllSwords"
- for i = 1, #weapon do
- game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(buyw, weapon[i])
- end
- local buyb = "buyAllBelts"
- for i = 1, #belt do
- game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(buyb, belt[i])
- end
- end
- local rank = game.Players.LocalPlayer.leaderstats.Rank.Value
- if rank == "Samurai" or rank == "Assassin" then
- local weapon = {"Space Island"}
- local belt = {"Astral Island"}
- local buyw = "buyAllSwords"
- for i = 1, #weapon do
- game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(buyw, weapon[i])
- end
- local buyb = "buyAllBelts"
- for i = 1, #belt do
- game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(buyb, belt[i])
- end
- end
- local rank = game.Players.LocalPlayer.leaderstats.Rank.Value
- if rank ~= "Rookie" or rank ~= "Apprentice" or rank ~= "Samurai" or rank ~= "Assassin" then
- local weapon = {"Tundra Island"}
- local belt = {"Space Island"}
- local buyw = "buyAllSwords"
- for i = 1, #weapon do
- game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(buyw, weapon[i])
- end
- local buyb = "buyAllBelts"
- for i = 1, #belt do
- game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(buyb, belt[i])
- end
- local buys = "buyAllSkills"
- for i = 1, #belt do
- game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(buys, belt[i])
- end
- end
- local rank = "buyAllRanks"
- local meh2 = {"Tundra Island"}
- for i = 1, #rank do
- game:GetService("Players").LocalPlayer.ninjaEvent:FireServer(rank, meh2[i])
- end
- if ok == false then
- RenderStepped:Disconnect()
- end
- end
- end)
- -- reav
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement