Universal Script 📌
768 Views
955 Executions

Campo minado visual by chat gpt

Universal Script 📌
Cavalo_4443
Cavalo_4443First script
10 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

Campo minado pra tirar tédio ou vc decide

View Raw
-- SERVIÇOS
local Players = game:GetService("Players")
local player = Players.LocalPlayer

-- CONFIG
local CELL_SIZE = 6
local CELL_HEIGHT = 0.15
local MINE_CHANCE = 0.18

-- ESTADO
local pointA, pointB
local fieldFolder = Instance.new("Folder", workspace)
fieldFolder.Name = "CampoMinado_" .. player.Name

-- GUI
local gui = Instance.new("ScreenGui", player.PlayerGui)
gui.Name = "CampoMinadoGUI"

-- BOTÃO TOGGLE (DIREITA)
local toggleBtn = Instance.new("TextButton", gui)
toggleBtn.Size = UDim2.fromScale(0.05,0.08)
toggleBtn.Position = UDim2.fromScale(0.93,0.45)
toggleBtn.Text = "☰"
toggleBtn.ZIndex = 2

-- PAINEL (ABRE PARA ESQUERDA)
local panel = Instance.new("Frame", gui)
panel.Size = UDim2.fromScale(0.2,0.35)
panel.Position = UDim2.fromScale(0.72,0.35)
panel.Visible = true
panel.ZIndex = 1

local function makeBtn(txt, y)
	local b = Instance.new("TextButton", panel)
	b.Size = UDim2.fromScale(1,0.25)
	b.Position = UDim2.fromScale(0,y)
	b.Text = txt
	return b
end



Comments

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

Tags

More universal scripts

See all
Script hub
141
986
Bumped 27 minutes ago

Script hub

Lunyx Hub

Script hub
120.8k
221.2k
Bumped 46 minutes ago
Key System
Script hub
10.5k
200.6k
Bumped 1 hour ago

Script hub

KeylessVerified script badgeIRIDIUM HUB | #1

Script hub
33.3k
299.2k
Bumped 4 hours ago
Script hub
23.7k
5.3k
Bumped 4 hours ago
Key System
Paid
High Quality Offering
Universal Script 📌
305
977
Bumped 4 hours ago