Keyless
Key Required
Honey
Lua Scriptโข186 lines (5175 chars)
--[[
WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
]]
-- Services
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local remote = ReplicatedStorage:WaitForChild("Packets"):WaitForChild("Packet"):WaitForChild("RemoteEvent")
-- === UI Styling Helper ===
local function styleUI(obj, isButton)
obj.BackgroundColor3 = Color3.fromRGB(0,0,0)
obj.BackgroundTransparency = isButton and 0.1 or 0.3
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0,12)
corner.Parent = obj
local stroke = Instance.new("UIStroke")
stroke.Color = Color3.fromRGB(255,255,255)
stroke.Thickness = 1.5
stroke.Parent = obj
end
-- ScreenGui
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "PoopGameGUI"
screenGui.ResetOnSpawn = false
screenGui.Parent = playerGui
-- === Open Button ===
local openButton = Instance.new("TextButton")
openButton.Size = UDim2.new(0,70,0,70)
openButton.Position = UDim2.new(0,10,0.5,-35)
openButton.Text = "OPEN"
openButton.TextColor3 = Color3.new(1,1,1)
openButton.Font = Enum.Font.GothamBold
openButton.TextSize = 24
openButton.Parent = screenGui
styleUI(openButton, true)
-- === Main Frame ===
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0,380,0,460)
frame.Position = UDim2.new(0.5,-190,0.5,-230)
frame.Visible = false
frame.Parent = screenGui
styleUI(frame)
-- === Title Bar ===
local titleBar = Instance.new("Frame")
titleBar.Size = UDim2.new(1,0,0,60)
titleBar.Parent = frame
styleUI(titleBar)
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1,0,1,0)
title.BackgroundTransparency = 1
title.Text = "Poopy Game"
title.TextColor3 = Color3.new(1,1,1)
title.Font = Enum.Font.GothamBold
title.TextSize = 32
title.Parent = titleBar
-- === Buttons ===
local nullBtn = Instance.new("TextButton")
nullBtn.Size = UDim2.new(0.9,0,0,90)
nullBtn.Position = UDim2.new(0.05,0,0,80)
nullBtn.Text = "Auto poop: OFF"
nullBtn.TextColor3 = Color3.new(1,1,1)
nullBtn.Font = Enum.Font.GothamBold
nullBtn.TextSize = 34
nullBtn.Parent = frame
styleUI(nullBtn, true)
local specialBtn = Instance.new("TextButton")
specialBtn.Size = UDim2.new(0.9,0,0,90)
specialBtn.Position = UDim2.new(0.05,0,0,190)
specialBtn.Text = "Auto sell: OFF"
specialBtn.TextColor3 = Color3.new(1,1,1)
specialBtn.Font = Enum.Font.GothamBold
specialBtn.TextSize = 34
specialBtn.Parent = frame
styleUI(specialBtn, true)
local closeBtn = Instance.new("TextButton")
closeBtn.Size = UDim2.new(0,60,0,60)
closeBtn.Position = UDim2.new(1,-70,0,10)
closeBtn.Text = "X"
closeBtn.TextColor3 = Color3.new(1,1,1)
closeBtn.Font = Enum.Font.GothamBold
closeBtn.TextSize = 40
closeBtn.Parent = frame
styleUI(closeBtn, true)
-- === Credit Text ===
local creditLabel = Instance.new("TextLabel")
creditLabel.Size = UDim2.new(1,-20,0,30)
creditLabel.Position = UDim2.new(0,10,1,-40)
creditLabel.BackgroundTransparency = 1
creditLabel.Text = "Made by : Nahwinreals"
creditLabel.Font = Enum.Font.GothamBold
creditLabel.TextSize = 18
creditLabel.TextXAlignment = Enum.TextXAlignment.Center
creditLabel.TextYAlignment = Enum.TextYAlignment.Center
creditLabel.Parent = frame
-- Rainbow text
local hue = 0
RunService.RenderStepped:Connect(function(dt)
hue = (hue + dt*0.25) % 1
creditLabel.TextColor3 = Color3.fromHSV(hue,1,1)
end)
-- === Dragging (Mobile + PC) ===
local dragging, dragStart, startPos
titleBar.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
or input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = frame.Position
end
end)
titleBar.InputEnded:Connect(function()
dragging = false
end)
UserInputService.InputChanged:Connect(function(input)
if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement
or input.UserInputType == Enum.UserInputType.Touch) then
local delta = input.Position - dragStart
frame.Position = UDim2.new(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
end
end)
-- === Open / Close ===
openButton.MouseButton1Click:Connect(function()
frame.Visible = true
openButton.Visible = false
end)
closeBtn.MouseButton1Click:Connect(function()
frame.Visible = false
openButton.Visible = true
end)
-- === Logic ===
local nullRunning = false
local specialRunning = false
nullBtn.MouseButton1Click:Connect(function()
nullRunning = not nullRunning
nullBtn.Text = nullRunning and "Auto poop: ON" or "Auto poop: OFF"
task.spawn(function()
while nullRunning do
remote:FireServer(buffer.fromstring("\0\0\0\0"))
task.wait(1)
end
end)
end)
specialBtn.MouseButton1Click:Connect(function()
specialRunning = not specialRunning
specialBtn.Text = specialRunning and "Auto sell: ON" or "Auto sell: OFF"
task.spawn(function()
while specialRunning do
remote:FireServer(buffer.fromstring("\3\3"))
task.wait(0.2)
end
end)
end)Features & Information
???
Community Comments (0)
No comments yet for this script.

