Pet sim x Script Gems spawner 2026 working no key

Опубликовано: 22 Август 2026
на канале: birdMC
979
6

script: local ScreenGui = Instance.new("ScreenGui")
local MainFrame = Instance.new("Frame")
local Title = Instance.new("TextLabel")
local GemInput = Instance.new("TextBox")
local SetGemsButton = Instance.new("TextButton")
local UICorner = Instance.new("UICorner")

ScreenGui.Parent = game:GetService("CoreGui") or game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui")
ScreenGui.ResetOnSpawn = false

MainFrame.Name = "GemVisualizerUI"
MainFrame.Parent = ScreenGui
MainFrame.BackgroundColor3 = Color3.fromRGB(15, 60, 110)
MainFrame.Position = UDim2.new(0.35, 0, 0.3, 0)
MainFrame.Size = UDim2.new(0, 260, 0, 180)
MainFrame.Active = true
MainFrame.Draggable = true

local FrameCorner = UICorner:Clone()
FrameCorner.Parent = MainFrame

Title.Parent = MainFrame
Title.BackgroundTransparency = 1
Title.Size = UDim2.new(1, 0, 0, 40)
Title.Text = "Gem Spawner"
Title.TextColor3 = Color3.fromRGB(255, 255, 255)
Title.TextSize = 20
Title.Font = Enum.Font.FredokaOne

GemInput.Parent = MainFrame
GemInput.BackgroundColor3 = Color3.fromRGB(10, 40, 75)
GemInput.Position = UDim2.new(0.05, 0, 0.3, 0)
GemInput.Size = UDim2.new(0.9, 0, 0, 35)
GemInput.Text = "999,999,999"
GemInput.TextColor3 = Color3.fromRGB(255, 255, 255)
GemInput.TextSize = 16
GemInput.Font = Enum.Font.FredokaOne

local InputCorner = UICorner:Clone()
InputCorner.Parent = GemInput

SetGemsButton.Parent = MainFrame
SetGemsButton.BackgroundColor3 = Color3.fromRGB(0, 200, 115)
SetGemsButton.Position = UDim2.new(0.05, 0, 0.65, 0)
SetGemsButton.Size = UDim2.new(0.9, 0, 0, 40)
SetGemsButton.Text = "Spawn"
SetGemsButton.TextColor3 = Color3.fromRGB(255, 255, 255)
SetGemsButton.TextSize = 18
SetGemsButton.Font = Enum.Font.FredokaOne

local ButtonCorner = UICorner:Clone()
ButtonCorner.Parent = SetGemsButton

SetGemsButton.MouseButton1Click:Connect(function()
local textValue = GemInput.Text
local LocalPlayer = game:GetService("Players").LocalPlayer
local Gui = LocalPlayer:FindFirstChild("PlayerGui")

if Gui then
local main = Gui:FindFirstChild("Main") or Gui:FindFirstChild("MainGui")
if main then
for _, v in pairs(main:GetDescendants()) do
if v.Name == "Diamonds" or v.Name == "Gems" then
local amountLabel = v:FindFirstChild("Amount") or v:FindFirstChild("TextLabel") or v
if amountLabel:IsA("TextLabel") then
amountLabel.Text = textValue
end
end
end
end
end
end)