17.4k Views
570 Executions
V2 BY ME is a Piggy script for Roblox, uploaded to ScriptBlox on Jun 21, 2024.
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Piggy GUI BUT BETTER
-- Create PiggyGui
local PiggyGui = Instance.new("ScreenGui")
PiggyGui.Name = "PiggyGui"
PiggyGui.Parent = game.CoreGui
-- Create ScrollingFrame
local ScrollingFrame = Instance.new("ScrollingFrame", PiggyGui)
ScrollingFrame.BackgroundColor3 = Color3.new(0.15, 0.15, 0.15)
ScrollingFrame.Position = UDim2.new(0.18, 0, 0.42, 0) -- Move to the right
ScrollingFrame.Size = UDim2.new(0, 300, 0, 400) -- Larger size
ScrollingFrame.Visible = false -- Initially hidden
-- Create Toggle Button
local ToggleButton = Instance.new("TextButton", PiggyGui)
ToggleButton.Name = "ToggleButton"
ToggleButton.Size = UDim2.new(0, 50, 0, 50)
ToggleButton.Position = UDim2.new(0.5, -25, 0.5, -25) -- Center of the screen
ToggleButton.Text = "P"
ToggleButton.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
ToggleButton.TextColor3 = Color3.new(1, 1, 1)
ToggleButton.Active = true
ToggleButton.BorderSizePixel = 0
ToggleButton.BackgroundTransparency = 0.5
ToggleButton.ClipsDescendants = true
-- Make ToggleButton draggable
local draggingToggle
local dragInputToggle
local dragStartToggle
local startPosToggle
local function updateToggle(input)
local delta = input.Position - dragStartToggle
ToggleButton.Position = UDim2.new(startPosToggle.X.Scale, startPosToggle.X.Offset + delta.X, startPosToggle.Y.Scale, startPosToggle.Y.Offset + delta.Y)
end
ToggleButton.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
draggingToggle = true
dragStartToggle = input.Position


![Piggy [THE HOLLOW]](/images/script/4623386862-1708751313737.webp)
![Piggy [THE HOLLOW]](/images/script/4623386862-1792505911010.png)
![Piggy [THE HOLLOW]](/images/script/4623386862-1792320132887.webp)
![Piggy [THE HOLLOW]](/images/script/4623386862-1791318537078.png)
![Piggy [THE HOLLOW]](/images/script/4623386862-1791062588708.jpg)
of gasoline
make it for book 2, in the temple chapter there is only the option of
it works on book 2 :P
make it work for book 2 pls
its good right?