The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Knight Simulator script pastebin roblox
By LINK GAME on 2024-09-21 08:00 am | Syntax: LUA | Views: 9



New Script | Raw | Show/Hide line no. | Copy text to clipboard
  1. local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/GreenDeno/Venyx-UI-Library/main/source.lua"))()
  2. local venyx = library.new("Knight Simulator", 5013109572)
  3.  
  4.  
  5. local themes = {
  6. Background = Color3.fromRGB(24, 24, 24),
  7. Glow = Color3.fromRGB(0, 0, 0),
  8. Accent = Color3.fromRGB(10, 10, 10),
  9. LightContrast = Color3.fromRGB(20, 20, 20),
  10. DarkContrast = Color3.fromRGB(14, 14, 14),  
  11. TextColor = Color3.fromRGB(255, 255, 255)
  12. }
  13.  
  14.  
  15. local page = venyx:addPage("Main", 5012544693)
  16. local section1 = page:addSection("Auto Farm")
  17. local section2 = page:addSection("Misc&Cred")
  18.  
  19.  
  20. section1:addToggle("Start Farm", nil, function(value)
  21.    getgenv().autofarm = value
  22. end)
  23.  
  24. coroutine.wrap(function()
  25.    while wait() do
  26.        if getgenv().autofarm == true then
  27.            pcall(function()
  28.                for i,v in pairs(game.Workspace.Enemies.Lobby:GetDescendants()) do
  29.                        if v.Humanoid.Health > 0 and game.Players.LocalPlayer.Character.Humanoid.Health > 0 then
  30.                            repeat
  31.                                wait()
  32.                                local vu = game:GetService("VirtualUser")
  33.                                vu:ClickButton1(Vector2.new(0,0))
  34.                                local humroot = game.Players.LocalPlayer.Character.HumanoidRootPart
  35.                                humroot.CFrame = CFrame.new(v.HitBox.Position)
  36.                                game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame * CFrame.new(0,-5,0) * CFrame.Angles(math.rad(90),0,0)
  37.                            until v.Humanoid.Health <= 0 or getgenv().autofarm == false
  38.                    end
  39.                end
  40.            end)
  41.        end
  42.    end
  43. end)()
  44.  
  45. game:GetService("RunService").RenderStepped:Connect(function()
  46.    if autofarm == true then
  47.        game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  48.    end
  49. end)
  50.  
  51. section2:addKeybind("Hide Keybind", N, function(keycall)
  52.    if keycall then
  53.        venyx:toggle()
  54.    end
  55. end)
  56.  
  57. section2:addButton("Fickoeizy x)", function()
  58.    print("https://discord.gg/9bRfh6Uu4r")
  59. end)
  60.  
  61. local theme = venyx:addPage("Themes", 5012544693)
  62. local colors = theme:addSection("Colors")
  63.  
  64. for theme, color in pairs(themes) do
  65. colors:addColorPicker(theme, color, function(color3)
  66. venyx:setTheme(theme, color3)
  67. end)
  68. end
  69.  
  70.  
  71. venyx:SelectPage(venyx.pages[1], true)