Advertisement
dhcfast

Untitled

Apr 8th, 2025 (edited)
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.69 KB | None | 0 0
  1. _G.Owner = "GurniczyRDM1" -- Zmień na swój nick z maina
  2. local Players = game:GetService("Players")
  3. local RunService = game:GetService("RunService")
  4. local LocalPlayer = Players.LocalPlayer
  5. local enabled = false
  6. local autoDropAmount = 10000
  7. local following = false
  8. local locking = false
  9. local dropping = false
  10. local targetToFollow = nil
  11. local totalDropped = 0  -- Zmienna przechowująca łączną ilość wywalonych DHC
  12.  
  13. -- GUI
  14. local screenGui = Instance.new("ScreenGui")
  15. screenGui.Parent = game.CoreGui
  16. local label = Instance.new("TextLabel")
  17. label.Parent = screenGui
  18. label.Size = UDim2.new(0, 300, 0, 50)
  19. label.Position = UDim2.new(0, 10, 0, 10)
  20. label.Text = "Total DHC Dropped: " .. totalDropped
  21. label.TextColor3 = Color3.fromRGB(255, 255, 255)
  22. label.BackgroundTransparency = 0.5
  23. label.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  24.  
  25. -- Anti-AFK
  26. for i,v in pairs(getconnections(LocalPlayer.Idled)) do
  27.     v:Disable()
  28. end
  29.  
  30. -- Drop kasy
  31. function dropCash(amount)
  32.     local args = {
  33.         [1] = "DropMoney",
  34.         [2] = amount
  35.     }
  36.     game:GetService("ReplicatedStorage").MainEvent:FireServer(unpack(args))
  37.    
  38.     -- Zwiększanie licznika wywalonej kasy
  39.     totalDropped = totalDropped + amount
  40.     label.Text = "Total DHC Dropped: " .. totalDropped
  41. end
  42.  
  43. -- Say
  44. function sayMessage(msg)
  45.     local args = {
  46.         [1] = "SendMessage",
  47.         [2] = msg,
  48.         [3] = false
  49.     }
  50.     game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(unpack(args))
  51. end
  52.  
  53. -- Siatka teleportów
  54. function tpToCasinoGrid()
  55.     local bots = Players:GetPlayers()
  56.     local basePos = Vector3.new(-873.17, 21.75, -124.39)
  57.     local spacing = 4
  58.     local gridSize = math.ceil(math.sqrt(#bots))
  59.     local index = 0
  60.  
  61.     for _, bot in ipairs(bots) do
  62.         if bot ~= nil and bot.Character and bot.Name ~= _G.Owner then
  63.             local row = math.floor(index / gridSize)
  64.             local col = index % gridSize
  65.             local offset = Vector3.new(col * spacing, 0, row * spacing)
  66.             bot.Character:PivotTo(CFrame.new(basePos + offset))
  67.             index += 1
  68.         end
  69.     end
  70. end
  71.  
  72. -- Auto drop loop
  73. task.spawn(function()
  74.     while true do
  75.         task.wait(1)
  76.         if enabled and not dropping then
  77.             dropping = true
  78.             dropCash(autoDropAmount)
  79.             dropping = false
  80.         end
  81.     end
  82. end)
  83.  
  84. -- Auto rejoin
  85. LocalPlayer.OnTeleport:Connect(function(State)
  86.     if State == Enum.TeleportState.Started then
  87.         syn.queue_on_teleport([[loadstring(game:HttpGet("TWÓJ_LINK"))()]])
  88.     end
  89. end)
  90.  
  91. -- Komendy z czatu
  92. Players.PlayerChatted:Connect(function(player, message)
  93.     if player.Name == _G.Owner then
  94.         message = message:lower()
  95.         if message == "start." then
  96.             enabled = true
  97.         elseif message == "stop." then
  98.             enabled = false
  99.         elseif message:match("^drop%.") then
  100.             local amt = tonumber(message:split(".")[2])
  101.             if amt then dropCash(amt) end
  102.         elseif message == "follow." then
  103.             following = true
  104.             targetToFollow = player
  105.         elseif message == "vanish." then
  106.             LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(0, -5000, 0)
  107.         elseif message == "tp.casino." then
  108.             tpToCasinoGrid()
  109.         elseif message:match("^say%.") then
  110.             local msg = message:sub(5)
  111.             sayMessage(msg)
  112.         elseif message:match("^goto%.") then
  113.             local targetName = message:split(".")[2]
  114.             local target = Players:FindFirstChild(targetName)
  115.             if target and target.Character then
  116.                 LocalPlayer.Character:PivotTo(target.Character:GetPivot())
  117.             end
  118.         elseif message == "auto.rejoin." then
  119.             game:GetService("TeleportService"):Teleport(game.PlaceId, LocalPlayer)
  120.         elseif message == "spawn." then
  121.             local owner = Players:FindFirstChild(_G.Owner)
  122.             if owner and owner.Character then
  123.                 LocalPlayer.Character:PivotTo(owner.Character:GetPivot())
  124.             end
  125.         end
  126.     end
  127. end)
  128.  
  129. -- Pętla follow
  130. RunService.Heartbeat:Connect(function()
  131.     if (following or locking) and targetToFollow and targetToFollow.Character and LocalPlayer.Character then
  132.         local distance = (LocalPlayer.Character:GetPivot().Position - targetToFollow.Character:GetPivot().Position).Magnitude
  133.         if distance > 15 then
  134.             LocalPlayer.Character:PivotTo(targetToFollow.Character:GetPivot() * CFrame.new(0, 0, 2))
  135.         elseif following then
  136.             LocalPlayer.Character:PivotTo(targetToFollow.Character:GetPivot() * CFrame.new(0, 0, 2))
  137.         end
  138.     end
  139. end)
  140.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement