Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Bypass
- if game:GetService("Players").LocalPlayer.Character.Services:FindFirstChild("Client") then
- game:GetService("Players").LocalPlayer.Character.Services["Client"].Disabled = true
- end
- wait(0.2)
- if placeId == 4520749081 then
- NameGame = "King Legacy Sea1"
- elseif placeId == 6381829480 then
- NameGame = "King Legacy Sea2"
- elseif placeId == 5931540094 then
- NameGame = "King Legacy Raid"
- end
- wait(0.2)
- --Config----------------------------
- SelectWeapon = "None"
- ------------------------------------
- wait(0.2)
- game.StarterGui:SetCore("SendNotification", {
- Title = "Hee Na Yed Hub",
- Text = "Checking Game..",
- Icon = "",
- Duration = 1
- })
- wait(1.25)
- game.StarterGui:SetCore("SendNotification", {
- Title = "Hee Na Yed Hub",
- Text = NameGame,
- Icon = "",
- Duration = 1
- })
- wait(1.25)
- game.StarterGui:SetCore("SendNotification", {
- Title = "Hee Na Yed Hub",
- Text = "Waiting..",
- Icon = "",
- Duration = 4
- })
- wait(4)
- --Theme--
- --LightTheme,DarkTheme,GrapeTheme,BloodTheme,Ocean,Midnight,Sentinel,Synapse,Serpent
- local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
- local Window = Library.CreateLib("Hee [Name] Na Yed Hub | Premium Script", "GrapeTheme")
- local Tab = Window:NewTab("Main")
- local Section = Tab:NewSection("Auto Farm")
- MonList = {
- "Soldier [Lv. 1]",
- "Clown Pirate [Lv. 10]"
- }
- Modelist = {
- "Behind",
- "Above"
- }
- Section:NewDropdown("Select Mon", "Select Mon to Auto Farm", MonList, function(string)
- MonSelect = string
- end)
- Section:NewDropdown("Select Mode", "Select Mode to Auto Farm", Modelist, function(string)
- ModeSelect = string
- end)
- Section:NewToggle("Auto Farm Level", "Start Auto Farm Level", function(state)
- _G.AutoFarmLevel = state
- end)
- Section:NewToggle("Auto Equip", "Auto Equip Weapon/Tool", function(state)
- _G.AutoEquip = state
- end)
- local twoSection = Tab:NewSection("Misc")
- twoSection:NewTextBox("Message", "Spam this message", function(txt)
- message = txt
- repeat wait()
- local A_1 = message
- local A_2 = "All"
- local Event = game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest
- Event:FireServer(A_1, A_2)
- wait(3)
- until _G.AutoMessage == false
- end)
- function AutoFarmLevel()
- for i,v in pairs(game:GetService("Workspace").Monster.Mon:GetChildren()) do
- if v.Name == MonSelect then
- repeat wait()
- if ModeSelect == "Behind" then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame * CFrame.new(0,0,3)
- elseif ModeSelect == "Above" then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame * CFrame.new(3,5,0) * CFrame.Angles(math.rad(45), math.rad(180), math.rad(180))
- end
- game:GetService('VirtualUser'):CaptureController()
- game:GetService('VirtualUser'):ClickButton1(Vector2.new(851, 158), game:GetService("Workspace").Camera.CFrame)
- until _G.AutoFarmLevel == false or v.Humanoid.Health <= 0
- end
- end
- end
- spawn(function()
- while wait(0.1) do
- if _G.AutoFarmLevel then
- pcall(function()
- AutoFarmLevel()
- end)
- end
- end
- end)
- spawn(function()
- while wait(0.3) do
- if _G.AutoEquip then
- pcall(function()
- game.Players.LocalPlayer.Character.Humanoid:EquipTool(game:GetService("Players").LocalPlayer.Backpack:FindFirstChild(SelectWeapon))
- end)
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement