---
title: "Piggy Script for Roblox: item gui [OP SCRIPT] - ScriptBlox"
description: "Piggy Roblox script: item gui [OP SCRIPT]. Piggy Script that any item you click on it gets it for you"
canonical_url: "https://scriptblox.com/script/Piggy-item-gui-13624"
meta:
  "og:description": "Piggy Roblox script: item gui [OP SCRIPT]. Piggy Script that any item you click on it gets it for you"
  "og:image": "https://scriptblox.com/images/script/4623386862-1717155458538.webp"
  "og:title": "Piggy Script for Roblox: item gui [OP SCRIPT] - ScriptBlox"
  "twitter:description": "Piggy Roblox script: item gui [OP SCRIPT]. Piggy Script that any item you click on it gets it for you"
  "twitter:image": "https://scriptblox.com/images/script/4623386862-1717155458538.webp"
  "twitter:title": "Piggy Script for Roblox: item gui [OP SCRIPT] - ScriptBlox"
---

> Index of every page on this site: [llms.txt](https://scriptblox.com/llms.txt)

![Piggy \[REWORK UPDATE\]](https://scriptblox.com/images/script/4623386862-1717155458538.webp)

# **item gui \[OP SCRIPT]**

[**Piggy**](https://scriptblox.com/game/4623386862-piggy "Piggy [REWORK UPDATE]")**![krahotristan409](https://scriptblox.com/images/user-default.webp) [krahotristan409](https://scriptblox.com/u/krahotristan409)First script**

3 years ago

[**Play game **](roblox://placeId=4623386862) [**Game Link **](https://roblox.com/games/4623386862)

[**Get an executor**](https://scriptblox.com/executors?kind=executor)

Please login to perform these actions:

item gui \[OP SCRIPT] is a Piggy script for Roblox, uploaded to ScriptBlox on May 31, 2024.

## **Does it work? **

**No reports yet **

No reports yet. Tried it? Be the first to say.

Also noticed:

## Description

Piggy Script that any item you click on it gets it for you

## **Updates **

1. Mar 27, 2025

   ****Script edited:**** Create script

[View Raw](https://scriptblox.com/raw/Piggy-item-gui-13624)

```
local PiggyGui = Instance.new("ScreenGui")
PiggyGui.Name = "PiggyGui"
PiggyGui.Parent = game.StarterGui

local ScrollingFrame = Instance.new("ScrollingFrame", PiggyGui)
ScrollingFrame.BackgroundColor3 = Color3.new(0.15, 0.15, 0.15)
ScrollingFrame.Position = UDim2.new(0.08, 0, 0.42, 0)
ScrollingFrame.Size = UDim2.new(0, 296, 0, 388)




local PiggyGui = Instance.new("ScreenGui")
PiggyGui.Name = "PiggyGui"
PiggyGui.Parent = game.CoreGui

local ScrollingFrame = Instance.new("ScrollingFrame", PiggyGui)
ScrollingFrame.BackgroundColor3 = Color3.new(0.15, 0.15, 0.15)
ScrollingFrame.Position = UDim2.new(0.08, 0, 0.42, 0)
ScrollingFrame.Size = UDim2.new(0, 296, 0, 388)

local UIGridLayout = Instance.new("UIGridLayout", ScrollingFrame)
UIGridLayout.CellSize = UDim2.new(0,90,0,90)

while wait(1) do
local a = workspace:getDescendants()
local items = {}
local itemframes = ScrollingFrame:getChildren()
for i=1,#itemframes do
if itemframes[i].ClassName == "TextButton" then
itemframes[i]:remove()
end
end
for i=1,#a do
if a[i].Name == "ItemPickupScript" and a[i].Parent:findFirstChild("ClickDetector") then
table.insert(items, a[i].Parent)
end
end
for i=1,#items do
local ItemFrame = Instance.new("TextButton", ScrollingFrame)


```

## **Comments **

**5**

Log in to join the conversation. [**Login **](https://scriptblox.com/login?redirect=/script/Piggy-item-gui-13624)

![krahotristan409's profile picture](https://scriptblox.com/images/user-default.webp)

[**krahotristan409**](https://scriptblox.com/u/krahotristan409)**Uploader**2 years ago(edited)

It works for book 2 aswell!

2

![krahotristan409's profile picture](https://scriptblox.com/images/user-default.webp)

[**krahotristan409**](https://scriptblox.com/u/krahotristan409)**Uploader**2 years ago(edited)

I cant do that i dont own the script

1

![alxddr's profile picture](https://scriptblox.com/images/photo/6680b0c7eecaeb3e5ddd79d2-1766360383839.jpg)

[**alxddr**](https://scriptblox.com/u/alxddr)Lv 92 years ago(edited)

make a toggle \*on

1

![Howsyourlife's profile picture](https://scriptblox.com/images/user-default.webp)

[**Howsyourlife**](https://scriptblox.com/u/Howsyourlife)2 years ago(edited)

what executors do you guys use??

1

![Moor's profile picture](https://scriptblox.com/images/photo/629dfc67ee6d3da00eafbd2e-1744662497740.png)

[**Moor**](https://scriptblox.com/u/Moor)2 years ago(edited)

can u make work for book 2

1

```json
{"@context":"https://schema.org","@type":"SoftwareSourceCode","@id":"https://scriptblox.com/script/Piggy-item-gui-13624#script","url":"https://scriptblox.com/script/Piggy-item-gui-13624","name":"item gui [OP SCRIPT]","programmingLanguage":"Lua","runtimePlatform":"Roblox","author":{"@type":"Person","name":"krahotristan409","url":"https://scriptblox.com/u/krahotristan409"},"datePublished":"2024-05-31T11:37:38.696Z","image":"https://scriptblox.com/images/script/4623386862-1717155458538.webp","about":{"@type":"VideoGame","name":"Piggy","gamePlatform":"Roblox"},"isAccessibleForFree":true}
```

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://scriptblox.com/#website","@type":"WebSite","description":"Search free Roblox scripts uploaded by the community, with live status for every major executor. Browse by game, copy the loadstring and run it in your executor.","inLanguage":"en","name":"ScriptBlox","url":"https://scriptblox.com/"},{"@id":"https://scriptblox.com/script/Piggy-item-gui-13624#webpage","@type":"WebPage","description":"Piggy Roblox script: item gui [OP SCRIPT]. Piggy Script that any item you click on it gets it for you","name":"Piggy Script for Roblox: item gui [OP SCRIPT] - ScriptBlox","url":"https://scriptblox.com/script/Piggy-item-gui-13624","breadcrumb":{"@id":"https://scriptblox.com/script/Piggy-item-gui-13624#breadcrumb"},"isPartOf":{"@id":"https://scriptblox.com/#website"},"mainEntity":{"@id":"https://scriptblox.com/script/Piggy-item-gui-13624#script"},"potentialAction":[{"@type":"ReadAction","target":["https://scriptblox.com/script/Piggy-item-gui-13624"]}]},{"@id":"https://scriptblox.com/script/Piggy-item-gui-13624#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://scriptblox.com","position":1},{"@type":"ListItem","name":"Piggy","item":"https://scriptblox.com/game/4623386862-piggy","position":2},{"@type":"ListItem","name":"item gui [OP SCRIPT]","position":3}]}]}
```

## Sitemap

See the full [sitemap](https://scriptblox.com/sitemap.md) for all pages.
