Universal Script 📌
18.4k Views
57 Executions

game inside game BETA

Universal Script 📌
EnergyBlox
EnergyBlox10 followers
2 years 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

a game insidea game incase your bored autofarming in whatever game its like sols rng but with badges more stuff wil be added in the future!

View Raw
--// Variables
local player = game.Players.LocalPlayer
local playerGui = player:FindFirstChild("PlayerGui") or Instance.new("PlayerGui", player)
local coins = Instance.new("IntValue", player)
coins.Name = "Coins"
coins.Value = 0

--// GUI Setup
local screenGui = Instance.new("ScreenGui", playerGui)
local frame = Instance.new("Frame", screenGui)
frame.Size = UDim2.new(1, 0, 1, 0)
frame.BackgroundColor3 = Color3.new(0, 0, 0.5)

local rollButton = Instance.new("TextButton", frame)
rollButton.Size = UDim2.new(0.3, 0, 0.1, 0)
rollButton.Position = UDim2.new(0.35, 0, 0.4, 0)
rollButton.Text = "Roll!"

local resultLabel = Instance.new("TextLabel", frame)
resultLabel.Size = UDim2.new(0.4, 0, 0.1, 0)
resultLabel.Position = UDim2.new(0.3, 0, 0.55, 0)
resultLabel.Text = ""
resultLabel.TextColor3 = Color3.new(1, 1, 1)
resultLabel.BackgroundTransparency = 1
resultLabel.TextScaled = true

local closeButton = Instance.new("TextButton", frame)
closeButton.Size = UDim2.new(0.1, 0, 0.05, 0)
closeButton.Position = UDim2.new(0.9, 0, 0, 0)
closeButton.Text = "Close"
closeButton.MouseButton1Click:Connect(function()
    screenGui:Destroy()
end)

--// Shop GUI
local shopFrame = Instance.new("Frame", screenGui)
shopFrame.Size = UDim2.new(0.3, 0, 1, 0)
shopFrame.Position = UDim2.new(0.7, 0, 0, 0)
shopFrame.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)



Comments

3
Log in to join the conversation. Login
Aceii_'s profile picture
Aceii_2 years ago(edited)

@scriptiux_inc i can do that indeed but not rn.

1
EnergyBlox's profile picture
EnergyBloxUploader2 years ago(edited)

@shadowdevnothere yeah can you make it function better to? i used chatgpt for the buying system and coded the rolling only lol

1
Aceii_'s profile picture
Aceii_2 years ago(edited)

i could make something like this and give it to u but better.

1

More universal scripts

See all
Universal Script 📌
2
0
Approved 3 minutes ago
Key System
Universal Script 📌
20
0
Approved 14 minutes ago
Key System
Script hub
3.0M
691.0k
Bumped 3 hours ago
Key System

Script hub

#2 today

Verified script badgeFlow Hub | 35 Games | Updated

Universal Script 📌
5.9k
19.8k
Bumped 3 hours ago
Key System