Universal Script 📌
5.0k Views
19 Executions

Fast Shop Opening

Universal Script 📌
floppa_scripter
floppa_scripterPublished 10
1 year 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 creates 2 buttons with 2 shops Seed Shop, Gear shop.

View Raw
local player = game.Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

local buttonGui = Instance.new("ScreenGui")
buttonGui.Name = "ShopButtons"
buttonGui.ResetOnSpawn = false 
buttonGui.Parent = playerGui

local buttonStyle = {
    Size = UDim2.new(0.15, 0, 0.07, 0),
    BackgroundColor3 = Color3.fromRGB(50, 50, 50),
    TextColor3 = Color3.fromRGB(255, 255, 255),
    Font = Enum.Font.SourceSansBold,
    TextSize = 18,
    AnchorPoint = Vector2.new(1, 0), 
}

local seedButton = Instance.new("TextButton")
seedButton.Name = "SeedShopButton"
seedButton.Text = "Seed Shop"
seedButton.Position = UDim2.new(1, -10, 0, 10) 
for prop, value in pairs(buttonStyle) do
    seedButton[prop] = value
end
seedButton.Parent = buttonGui

local gearButton = Instance.new("TextButton")
gearButton.Name = "GearShopButton"
gearButton.Text = "Gear Shop"
gearButton.Position = UDim2.new(1, -10, 0, 80) 
for prop, value in pairs(buttonStyle) do
    gearButton[prop] = value
end
gearButton.Parent = buttonGui

local seedShopGUI = playerGui:FindFirstChild("Seed_Shop") or Instance.new("ScreenGui")
seedShopGUI.Name = "Seed_Shop"
seedShopGUI.Enabled = false
seedShopGUI.Parent = playerGui



Comments

2
Log in to join the conversation. Login
floppa_scripter's profile picture
floppa_scripterUploader1 year ago

what

1
floppa_scripter's profile picture
floppa_scripterUploader1 year ago

thats grow a garden script

1

More universal scripts

See all