From venuslock, 1 Month ago, written in Plain Text.
Embed
  1. --[[
  2.         WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
  3. ]]
  4. local replicatedStorage = game:GetService("ReplicatedStorage")
  5. local knit = replicatedStorage:WaitForChild("Packages"):WaitForChild("_Index"):WaitForChild("sleitnick_knit@1.5.1"):WaitForChild("knit")
  6. local fightService = knit:WaitForChild("Services"):WaitForChild("FightService")
  7. local startFightEvent = fightService:WaitForChild("RE"):WaitForChild("StartFight")
  8. local finishFightEvent = fightService:WaitForChild("RE"):WaitForChild("FinishFight")
  9.  
  10. local running = true -- change to "false" to stop.
  11.  
  12. local function startFight()
  13.     local args = {
  14.         [1] = "Area_Tower"
  15.     }
  16.     startFightEvent:FireServer(unpack(args))
  17. end
  18.  
  19. local function finishFight()
  20.     local args = {
  21.         [1] = "Area_Tower"
  22.     }
  23.     finishFightEvent:FireServer(unpack(args))
  24. end
  25.  
  26. local function toggle()
  27.     running = not running
  28.     if running then
  29.         print("Script is now running")
  30.     else
  31.         print("Script is now stopped")
  32.     end
  33. end
  34.  
  35. local function runFast()
  36.     while true do
  37.         if running then
  38.             startFight()
  39.             wait(0.1) -- Adjust the delay as needed
  40.             finishFight()
  41.             wait(0.1) -- Adjust the delay as needed
  42.         else
  43.             wait(1) -- Check every second if the script should run
  44.         end
  45.     end
  46. end
  47.  
  48. game:GetService("UserInputService").InputBegan:Connect(function(input)
  49.     if input.KeyCode == Enum.KeyCode.F then
  50.         toggle()
  51.     end
  52. end)
  53.  
  54. runFast()