Universal Script 📌
556 Views
37 Executions

Item viewing

Universal Script 📌
OksanRhyosa
OksanRhyosaFirst script
11 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

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

Also noticed:

Description

This script allows you to view other people's inventory

View Raw
-- Service References
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local LocalPlayer = Players.LocalPlayer

-- Create Main GUI (Key: Set ResetOnSpawn to false to prevent disappearance on respawn)
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "PlayerInventoryViewer"
ScreenGui.Parent = LocalPlayer.PlayerGui
ScreenGui.ResetOnSpawn = false -- Core property: Do not reset GUI on respawn
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling -- Ensure proper layer display

-- Main Frame (Draggable)
local MainFrame = Instance.new("Frame")
MainFrame.Name = "MainFrame"
MainFrame.Size = UDim2.new(0, 350, 0, 400)
MainFrame.Position = UDim2.new(0.1, 0, 0.1, 0)
MainFrame.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
MainFrame.BackgroundTransparency = 0.2
MainFrame.BorderColor3 = Color3.new(0.8, 0.8, 0.8)
MainFrame.BorderSizePixel = 2
MainFrame.ClipsDescendants = true
MainFrame.Parent = ScreenGui

-- Title Bar
local TitleBar = Instance.new("Frame")
TitleBar.Name = "TitleBar"
TitleBar.Size = UDim2.new(1, 0, 0, 30)
TitleBar.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
TitleBar.Parent = MainFrame

local TitleLabel = Instance.new("TextLabel")
TitleLabel.Name = "TitleLabel"
TitleLabel.Size = UDim2.new(1, 0, 1, 0)
TitleLabel.BackgroundTransparency = 1
TitleLabel.Text = "Player Inventory Viewer | Refreshes every second | Persists on death"
TitleLabel.TextColor3 = Color3.new(1, 1, 1)
TitleLabel.Font = Enum.Font.SourceSansBold
TitleLabel.TextSize = 16
TitleLabel.Parent = TitleBar


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

Tags

More universal scripts

See all
Script hub
178.7k
1.7M
Bumped 2 hours ago
Key System
Universal Script 📌
9.1k
31.3k
Bumped 3 hours ago
Script hub
49.7k
12.2k
Bumped 4 hours ago
Key System
Paid
Script hub
5.5M
1.1M
Bumped 8 hours ago
Key System
Script hub
20.5k
3.9k
Bumped 9 hours ago
Key System
Paid
Universal Script 📌
704
50
Approved 14 hours ago
Universal Script 📌
608
512
Approved 15 hours ago
Universal Script 📌
570
126
Approved 15 hours ago