Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _G.Owner = "GurniczyRDM1" -- Zmień na swój nick z maina
- local Players = game:GetService("Players")
- local RunService = game:GetService("RunService")
- local LocalPlayer = Players.LocalPlayer
- local enabled = false
- local autoDropAmount = 10000
- local following = false
- local locking = false
- local dropping = false
- local targetToFollow = nil
- local totalDropped = 0 -- Zmienna przechowująca łączną ilość wywalonych DHC
- -- GUI
- local screenGui = Instance.new("ScreenGui")
- screenGui.Parent = game.CoreGui
- local label = Instance.new("TextLabel")
- label.Parent = screenGui
- label.Size = UDim2.new(0, 300, 0, 50)
- label.Position = UDim2.new(0, 10, 0, 10)
- label.Text = "Total DHC Dropped: " .. totalDropped
- label.TextColor3 = Color3.fromRGB(255, 255, 255)
- label.BackgroundTransparency = 0.5
- label.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- -- Anti-AFK
- for i,v in pairs(getconnections(LocalPlayer.Idled)) do
- v:Disable()
- end
- -- Drop kasy
- function dropCash(amount)
- local args = {
- [1] = "DropMoney",
- [2] = amount
- }
- game:GetService("ReplicatedStorage").MainEvent:FireServer(unpack(args))
- -- Zwiększanie licznika wywalonej kasy
- totalDropped = totalDropped + amount
- label.Text = "Total DHC Dropped: " .. totalDropped
- end
- -- Say
- function sayMessage(msg)
- local args = {
- [1] = "SendMessage",
- [2] = msg,
- [3] = false
- }
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(unpack(args))
- end
- -- Siatka teleportów
- function tpToCasinoGrid()
- local bots = Players:GetPlayers()
- local basePos = Vector3.new(-873.17, 21.75, -124.39)
- local spacing = 4
- local gridSize = math.ceil(math.sqrt(#bots))
- local index = 0
- for _, bot in ipairs(bots) do
- if bot ~= nil and bot.Character and bot.Name ~= _G.Owner then
- local row = math.floor(index / gridSize)
- local col = index % gridSize
- local offset = Vector3.new(col * spacing, 0, row * spacing)
- bot.Character:PivotTo(CFrame.new(basePos + offset))
- index += 1
- end
- end
- end
- -- Auto drop loop
- task.spawn(function()
- while true do
- task.wait(1)
- if enabled and not dropping then
- dropping = true
- dropCash(autoDropAmount)
- dropping = false
- end
- end
- end)
- -- Auto rejoin
- LocalPlayer.OnTeleport:Connect(function(State)
- if State == Enum.TeleportState.Started then
- syn.queue_on_teleport([[loadstring(game:HttpGet("TWÓJ_LINK"))()]])
- end
- end)
- -- Komendy z czatu
- Players.PlayerChatted:Connect(function(player, message)
- if player.Name == _G.Owner then
- message = message:lower()
- if message == "start." then
- enabled = true
- elseif message == "stop." then
- enabled = false
- elseif message:match("^drop%.") then
- local amt = tonumber(message:split(".")[2])
- if amt then dropCash(amt) end
- elseif message == "follow." then
- following = true
- targetToFollow = player
- elseif message == "vanish." then
- LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(0, -5000, 0)
- elseif message == "tp.casino." then
- tpToCasinoGrid()
- elseif message:match("^say%.") then
- local msg = message:sub(5)
- sayMessage(msg)
- elseif message:match("^goto%.") then
- local targetName = message:split(".")[2]
- local target = Players:FindFirstChild(targetName)
- if target and target.Character then
- LocalPlayer.Character:PivotTo(target.Character:GetPivot())
- end
- elseif message == "auto.rejoin." then
- game:GetService("TeleportService"):Teleport(game.PlaceId, LocalPlayer)
- elseif message == "spawn." then
- local owner = Players:FindFirstChild(_G.Owner)
- if owner and owner.Character then
- LocalPlayer.Character:PivotTo(owner.Character:GetPivot())
- end
- end
- end
- end)
- -- Pętla follow
- RunService.Heartbeat:Connect(function()
- if (following or locking) and targetToFollow and targetToFollow.Character and LocalPlayer.Character then
- local distance = (LocalPlayer.Character:GetPivot().Position - targetToFollow.Character:GetPivot().Position).Magnitude
- if distance > 15 then
- LocalPlayer.Character:PivotTo(targetToFollow.Character:GetPivot() * CFrame.new(0, 0, 2))
- elseif following then
- LocalPlayer.Character:PivotTo(targetToFollow.Character:GetPivot() * CFrame.new(0, 0, 2))
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement