ahuy78u6

plma

Nov 8th, 2025
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 14.71 KB | Gaming | 0 0
  1. --// Auto Click Script for Roblox
  2. -- Toggle pakai F1
  3. -- Hold click 2 detik, tunggu 5.5 detik, spam 60x, tekan "4" 2x, delay 2 detik, lalu ulang
  4.  
  5. local UserInputService = game:GetService("UserInputService")
  6. local VirtualInputManager = game:GetService("VirtualInputManager")
  7.  
  8. local toggle = false
  9.  
  10. UserInputService.InputBegan:Connect(function(input, gp)
  11.     if gp then return end
  12.     if input.KeyCode == Enum.KeyCode.F2 then
  13.         toggle = not toggle
  14.         if toggle then
  15.             task.spawn(function()
  16.                 while toggle do
  17.                     -- Klik tahan 2 detik
  18.                     VirtualInputManager:SendMouseButtonEvent(0, 0, 0, true, game, 0)
  19.                     task.wait(2)
  20.                     VirtualInputManager:SendMouseButtonEvent(0, 0, 0, false, game, 0)
  21.  
  22.                     -- Tunggu 5.5 detik
  23.                     task.wait(5.5)
  24.  
  25.                     -- Spam 60 kali klik
  26.                     for i = 1, 70 do
  27.                         VirtualInputManager:SendMouseButtonEvent(0, 0, 0, true, game, 0)
  28.                         VirtualInputManager:SendMouseButtonEvent(0, 0, 0, false, game, 0)
  29.                         task.wait(0.05)
  30.                     end
  31.  
  32.                     -- Tekan tombol "4" dua kali
  33.                     for i = 1, 2 do
  34.                         VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.Four, false, game)
  35.                         task.wait(0.05)
  36.                         VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.Four, false, game)
  37.                         task.wait(0.1)
  38.                     end
  39.  
  40.                     -- Delay 2 detik sebelum ulang
  41.                     task.wait(1)
  42.                 end
  43.             end)
  44.         end
  45.     end
  46. end)
  47.  
  48. --// Freeze Character tapi biarkan tangan & item (tool) tetap bebas
  49. local player = game.Players.LocalPlayer
  50. local character = player.Character or player.CharacterAdded:Wait()
  51. local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
  52.  
  53. local UserInputService = game:GetService("UserInputService")
  54. local frozen = false
  55. local freezeKey = Enum.KeyCode.F2 -- keybind F2
  56.  
  57. UserInputService.InputBegan:Connect(function(input, gameProcessed)
  58.     if gameProcessed then return end
  59.     if input.KeyCode == freezeKey then
  60.         frozen = not frozen
  61.  
  62.         if frozen then
  63.             -- Ambil semua Tool agar tidak ikut di-freeze
  64.             local tools = {}
  65.             for _, item in ipairs(character:GetChildren()) do
  66.                 if item:IsA("Tool") then
  67.                     table.insert(tools, item)
  68.                 end
  69.             end
  70.  
  71.             -- Freeze bagian tubuh, kecuali tangan dan tool
  72.             for _, part in ipairs(character:GetDescendants()) do
  73.                 if part:IsA("BasePart") then
  74.                     local isArm = part.Name:find("Arm") or part.Name:find("Hand")
  75.                     local isInTool = false
  76.                     for _, tool in ipairs(tools) do
  77.                         if part:IsDescendantOf(tool) then
  78.                             isInTool = true
  79.                             break
  80.                         end
  81.                     end
  82.  
  83.                     if not isArm and not isInTool then
  84.                         part.Anchored = true
  85.                     end
  86.                 end
  87.             end
  88.  
  89.             humanoidRootPart.Anchored = true
  90.             print("Character dibekukan (tool tetap bisa dipakai).")
  91.  
  92.         else
  93.             -- Unfreeze semua bagian
  94.             for _, part in ipairs(character:GetDescendants()) do
  95.                 if part:IsA("BasePart") then
  96.                     part.Anchored = false
  97.                 end
  98.             end
  99.             print("Character dilepaskan.")
  100.         end
  101.     end
  102. end)
  103.  
  104.  
  105. -- Auto Fish Script
  106. local Players = game:GetService("Players")
  107. local VirtualInputManager = game:GetService("VirtualInputManager")
  108. local Player = Players.LocalPlayer
  109. local Character = Player.Character or Player.CharacterAdded:Wait()
  110. local MiniGame = Character:WaitForChild("DiamondRod"):WaitForChild("MiniGame")
  111.  
  112. -- Fungsi untuk klik cepat di tengah layar
  113. local function spamClick()
  114.     task.spawn(function()
  115.         for i = 1, 50 do -- jumlah klik cepat
  116.             VirtualInputManager:SendMouseButtonEvent(
  117.                 workspace.CurrentCamera.ViewportSize.X / 2,
  118.                 workspace.CurrentCamera.ViewportSize.Y / 2,
  119.                 0,
  120.                 true,
  121.                 game,
  122.                 0
  123.             )
  124.             VirtualInputManager:SendMouseButtonEvent(
  125.                 workspace.CurrentCamera.ViewportSize.X / 2,
  126.                 workspace.CurrentCamera.ViewportSize.Y / 2,
  127.                 0,
  128.                 false,
  129.                 game,
  130.                 0
  131.             )
  132.             task.wait(0.01) -- kecepatan klik
  133.         end
  134.     end)
  135. end
  136.  
  137. -- Deteksi MiniGame dimulai
  138. MiniGame.OnClientEvent:Connect(function(eventType)
  139.     if eventType == "Start" then
  140.         spamClick()
  141.     end
  142. end)
  143.  
  144.  
  145. --test aja si
  146.  loadstring(game:HttpGet("https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source"))()
  147.  
  148.  
  149.  
  150. --test aja si
  151. -- Auto fire ClickDetector (toggle F1)
  152. local UserInputService = game:GetService("UserInputService")
  153. local targetPath = {"V5","RiceBag","ClickDetector"} -- path di workspace
  154. local spamDelay = 0 -- delay antara klik (atur sesuai kebutuhan)
  155.  
  156. local function getTarget()
  157.     local node = workspace
  158.     for _, name in ipairs(targetPath) do
  159.         node = node:FindFirstChild(name)
  160.         if not node then return nil end
  161.     end
  162.     return node
  163. end
  164.  
  165. local enabled = false
  166. local clickThread
  167.  
  168. UserInputService.InputBegan:Connect(function(input, gameProcessed)
  169.     if gameProcessed then return end
  170.     if input.KeyCode == Enum.KeyCode.F1 then
  171.         enabled = not enabled
  172.         print("AutoClick:", enabled and "ON" or "OFF")
  173.  
  174.         if enabled then
  175.             local target = getTarget()
  176.             if not target then
  177.                 warn("Target ClickDetector tidak ditemukan.")
  178.                 enabled = false
  179.                 return
  180.             end
  181.  
  182.             clickThread = task.spawn(function()
  183.                 while enabled do
  184.                     if target and target.Parent then
  185.                         -- coba panggil fireclickdetector (executor biasanya menyediakan)
  186.                         local ok, err = pcall(function()
  187.                             fireclickdetector(target)
  188.                         end)
  189.                         if not ok then
  190.                             -- fallback: kalau executor tidak punya fireclickdetector, coba invoke property (bisa gagal)
  191.                             pcall(function()
  192.                                 if target:IsA("ClickDetector") and target.Parent then
  193.                                     -- nothing native to call here, but keep safe
  194.                                 end
  195.                             end)
  196.                         end
  197.                     else
  198.                         warn("Target hilang, mematikan auto.")
  199.                         enabled = false
  200.                         break
  201.                     end
  202.                     task.wait(spamDelay)
  203.                 end
  204.             end)
  205.         end
  206.     end
  207. end)
  208.  
  209.  
  210. -- Touch fling gui
  211.  
  212. -- Gui to Lua (VIP VERSION)
  213. -- Version: 6.9
  214.  
  215. -- Instances:
  216.  
  217. local ScreenGui = Instance.new("ScreenGui")
  218. local Frame = Instance.new("Frame")
  219. local Frame_2 = Instance.new("Frame")
  220. local TextLabel = Instance.new("TextLabel")
  221. local TextButton = Instance.new("TextButton")
  222.  
  223. --Properties:
  224.  
  225. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  226. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  227. ScreenGui.ResetOnSpawn = false
  228. print("sub to BlueCat")
  229.  
  230. Frame.Parent = ScreenGui
  231. Frame.BackgroundColor3 = Color3.fromRGB(34, 34, 34)
  232. Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
  233. Frame.BorderSizePixel = 0
  234. Frame.Position = UDim2.new(0.388539821, 0, 0.427821517, 0)
  235. Frame.Size = UDim2.new(0, 158, 0, 110)
  236.  
  237. Frame_2.Parent = Frame
  238. Frame_2.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  239. Frame_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
  240. Frame_2.BorderSizePixel = 0
  241. Frame_2.Size = UDim2.new(0, 158, 0, 25)
  242.  
  243. TextLabel.Parent = Frame_2
  244. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  245. TextLabel.BackgroundTransparency = 1.000
  246. TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
  247. TextLabel.BorderSizePixel = 0
  248. TextLabel.Position = UDim2.new(0.112792775, 0, -0.0151660154, 0)
  249. TextLabel.Size = UDim2.new(0, 121, 0, 26)
  250. TextLabel.Font = Enum.Font.Sarpanch
  251. TextLabel.Text = "Touch Fling"
  252. TextLabel.TextColor3 = Color3.fromRGB(0, 0, 255)
  253. TextLabel.TextSize = 25.000
  254.  
  255. TextButton.Parent = Frame
  256. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  257. TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
  258. TextButton.BorderSizePixel = 0
  259. TextButton.Position = UDim2.new(0.113924049, 0, 0.418181807, 0)
  260. TextButton.Size = UDim2.new(0, 121, 0, 37)
  261. TextButton.Font = Enum.Font.SourceSansItalic
  262. TextButton.Text = "OFF"
  263. TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  264. TextButton.TextSize = 20.000
  265.  
  266. -- Scripts:
  267.  
  268. local function IIMAWH_fake_script() -- TextButton.LocalScript
  269.     local script = Instance.new('LocalScript', TextButton)
  270.  
  271.     local ReplicatedStorage = game:GetService("ReplicatedStorage")
  272.     local RunService = game:GetService("RunService")
  273.     local Players = game:GetService("Players")
  274.  
  275.     local toggleButton = script.Parent
  276.     local hiddenfling = false
  277.     local flingThread
  278.     if not ReplicatedStorage:FindFirstChild("juisdfj0i32i0eidsuf0iok") then
  279.         local detection = Instance.new("Decal")
  280.         detection.Name = "juisdfj0i32i0eidsuf0iok"
  281.         detection.Parent = ReplicatedStorage
  282.     end
  283.  
  284.     local function fling()
  285.         local lp = Players.LocalPlayer
  286.         local c, hrp, vel, movel = nil, nil, nil, 0.1
  287.  
  288.         while hiddenfling do
  289.             RunService.Heartbeat:Wait()
  290.             c = lp.Character
  291.             hrp = c and c:FindFirstChild("HumanoidRootPart")
  292.  
  293.             if hrp then
  294.                 vel = hrp.Velocity
  295.                 hrp.Velocity = vel * 10000 + Vector3.new(0, 10000, 0)
  296.                 RunService.RenderStepped:Wait()
  297.                 hrp.Velocity = vel
  298.                 RunService.Stepped:Wait()
  299.                 hrp.Velocity = vel + Vector3.new(0, movel, 0)
  300.                 movel = -movel
  301.             end
  302.         end
  303.     end
  304.  
  305.     toggleButton.MouseButton1Click:Connect(function()
  306.         hiddenfling = not hiddenfling
  307.         toggleButton.Text = hiddenfling and "ON" or "OFF"
  308.  
  309.         if hiddenfling then
  310.             flingThread = coroutine.create(fling)
  311.             coroutine.resume(flingThread)
  312.         else
  313.             hiddenfling = false
  314.         end
  315.     end)
  316.  
  317. end
  318. coroutine.wrap(IIMAWH_fake_script)()
  319. local function QCJQJL_fake_script() -- Frame.LocalScript
  320.     local script = Instance.new('LocalScript', Frame)
  321.  
  322.     script.Parent.Active = true
  323.     script.Parent.Draggable = true
  324. end
  325. coroutine.wrap(QCJQJL_fake_script)()
  326.  
  327.  
  328. -- Auto Press E (Toggle F3)
  329. local UserInputService = game:GetService("UserInputService")
  330. local VirtualInputManager = game:GetService("VirtualInputManager")
  331.  
  332. local active = false
  333.  
  334. UserInputService.InputBegan:Connect(function(input, gp)
  335.     if gp then return end
  336.     if input.KeyCode == Enum.KeyCode.F3 then
  337.         active = not active
  338.         print("Auto E:", active and "ON" or "OFF")
  339.     end
  340. end)
  341.  
  342. task.spawn(function()
  343.     while task.wait(0.05) do -- kecepatan tekan (0.05 = sangat cepat)
  344.         if active then
  345.             VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.E, false, game)
  346.             task.wait(0.01)
  347.             VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.E, false, game)
  348.         end
  349.     end
  350. end)
  351.  
  352.  
  353.  
  354. for _, v in pairs(game:GetDescendants()) do
  355.  if v:IsA("ProximityPrompt") then
  356.  v.HoldDuration = 0
  357.  end
  358. end
  359.  
  360.  
  361. -- Deteksi prompt baru yang muncul di game
  362. game.DescendantAdded:Connect(function(v)
  363.  if v:IsA("ProximityPrompt") then
  364.  v.HoldDuration = 0
  365.  end
  366. end)
  367.  
  368.  
  369. -- Auto Equip "RiceBag" (Toggle F4)
  370. local Players = game:GetService("Players")
  371. local RunService = game:GetService("RunService")
  372. local UserInputService = game:GetService("UserInputService")
  373. local player = Players.LocalPlayer
  374. local backpack = player:WaitForChild("Backpack")
  375. local active = false
  376.  
  377. UserInputService.InputBegan:Connect(function(input, gp)
  378.     if gp then return end
  379.     if input.KeyCode == Enum.KeyCode.F8 then
  380.         active = not active
  381.         print("Auto RiceBag:", active and "ON" or "OFF")
  382.     end
  383. end)
  384.  
  385. RunService.Heartbeat:Connect(function()
  386.     if not active then return end
  387.     local character = player.Character or player.CharacterAdded:Wait()
  388.     local tool = character:FindFirstChildOfClass("Tool")
  389.     if not tool or tool.Name ~= "RiceBag" then
  390.         local riceBag = backpack:FindFirstChild("RiceBag")
  391.         if riceBag then
  392.             riceBag.Parent = character
  393.         end
  394.     end
  395. end)
  396.  
  397. --test123
  398. local Player = game.Players.LocalPlayer
  399. local Character = Player.Character or Player.CharacterAdded:Wait()
  400. local HRP = Character:WaitForChild("HumanoidRootPart")
  401. local UIS = game:GetService("UserInputService")
  402.  
  403. local Job = workspace:WaitForChild("Rice Job")
  404.  
  405. local prompts = {
  406.     Job:GetChildren()[13].ProximityPrompt,
  407.     Job:GetChildren()[7].ProximityPrompt,
  408.     Job.CookPart.ProximityPrompt,
  409.     Job:GetChildren()[11].ProximityPrompt,
  410.     Job:GetChildren()[10].ProximityPrompt,
  411.     Job:GetChildren()[9].ProximityPrompt,
  412.     Job:GetChildren()[8].ProximityPrompt,
  413.     Job:GetChildren()[12].ProximityPrompt
  414. }
  415.  
  416. local active = false
  417.  
  418. UIS.InputBegan:Connect(function(input, gp)
  419.     if gp then return end
  420.     if input.KeyCode == Enum.KeyCode.F8 then
  421.         active = not active
  422.         print("Auto TP Prompt:", active and "ON" or "OFF")
  423.     end
  424. end)
  425.  
  426. task.spawn(function()
  427.     while task.wait(0.3) do
  428.         if active then
  429.             for _, prompt in ipairs(prompts) do
  430.                 if not active then break end
  431.                 if prompt and prompt.Parent then
  432.                     HRP.CFrame = prompt.Parent.CFrame + Vector3.new(0, 3, 0)
  433.                     task.wait(0.3)
  434.                     fireproximityprompt(prompt)
  435.                     task.wait(0.3)
  436.                 end
  437.             end
  438.         end
  439.     end
  440. end)
  441.  
  442.  
  443. -- Auto Equip Rice Types (Toggle F8) - lebih andal pakai Humanoid:EquipTool
  444. local Players = game:GetService("Players")
  445. local RunService = game:GetService("RunService")
  446. local UserInputService = game:GetService("UserInputService")
  447. local StarterPack = game:GetService("StarterPack")
  448.  
  449. local player = Players.LocalPlayer
  450. local active = false
  451. local riceNames = {"SmallRice", "MediumRice", "LargeRice"}
  452.  
  453. UserInputService.InputBegan:Connect(function(input, gp)
  454.     if gp then return end
  455.     if input.KeyCode == Enum.KeyCode.F6 then
  456.         active = not active
  457.         print("Auto Rice Equip:", active and "ON" or "OFF")
  458.     end
  459. end)
  460.  
  461. local function hasRiceEquipped(character)
  462.     if not character then return false end
  463.     local tool = character:FindFirstChildOfClass("Tool")
  464.     return tool and table.find(riceNames, tool.Name)
  465. end
  466.  
  467. local function findRiceTool()
  468.     -- cek Backpack, Character (jarang), dan StarterPack sebagai cadangan
  469.     local places = { player:FindFirstChild("Backpack"), player.Character, StarterPack }
  470.     for _, container in ipairs(places) do
  471.         if container then
  472.             for _, name in ipairs(riceNames) do
  473.                 local t = container:FindFirstChild(name)
  474.                 if t and t:IsA("Tool") then
  475.                     return t
  476.                 end
  477.             end
  478.         end
  479.     end
  480.     return nil
  481. end
  482.  
  483. local function tryEquip()
  484.     local character = player.Character
  485.     if not character or not active then return end
  486.     if hasRiceEquipped(character) then return end
  487.  
  488.     local humanoid = character:FindFirstChildOfClass("Humanoid")
  489.     if not humanoid then return end
  490.  
  491.     local tool = findRiceTool()
  492.     if tool then
  493.         -- pakai Humanoid:EquipTool agar lebih kompatibel
  494.         pcall(function() humanoid:EquipTool(tool) end)
  495.     end
  496. end
  497.  
  498. -- loop ringan (bukan tiap frame yang super berat)
  499. RunService.Heartbeat:Connect(function()
  500.     if active then
  501.         tryEquip()
  502.     end
  503. end)
  504.  
  505. -- re-equip saat karakter respawn
  506. player.CharacterAdded:Connect(function()
  507.     -- small delay supaya Humanoid ada
  508.     wait(0.5)
  509.     if active then tryEquip() end
  510. end)
  511.  
Advertisement
Add Comment
Please, Sign In to add comment