
759 Views
749 Executions
Campo minado visual by chat gpt
Universal Script 📌
Cavalo_4443First script
10 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Campo minado pra tirar tédio ou vc decide
-- 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
0Log in to join the conversation. Login
No comments yet. Be the first!






