Run it
Copy the script and paste it into your executor.
local player = game.Players.LocalPlayer
local UIS = game:GetService("UserInputService")
local event = game.ReplicatedStorage:WaitForChild("AdminEvent")
local DONO = "macuin_000" -- mesmo nome do servidor
-- Se não for o dono, não cria painel
if player.Name ~= DONO then
return
end
local gui = Instance.new("ScreenGui")
gui.Name = "AdminPanel"
gui.ResetOnSpawn = false
gui.Parent = player:WaitForChild("PlayerGui")
gui.Enabled =
frame = .()
frame.Parent = gui
frame.Size = .(,,,)
frame.Position = .(,-,,-)
frame.BackgroundColor3 = .(,,)
frame.BorderSizePixel =
corner = .()
corner.Parent = frame
corner.CornerRadius = .(,)
textbox = .()
textbox.Parent = frame
textbox.Size = .(,,,)
textbox.Position = .(,,,)
textbox.PlaceholderText =
textbox.BackgroundColor3 = .(,,)
textbox.TextColor3 = .(,,)
textbox.TextScaled =
(texto, posY, acao)
btn = .()
btn.Parent = frame
btn.Size = .(,,,)
btn.Position = .(,,posY,)
btn.Text = texto
btn.BackgroundColor3 = .(,,)
btn.TextColor3 = .(,,)
btn.TextScaled =
btn.MouseButton1Click:(()
textbox.Text ~=
event:(acao, textbox.Text)
event:(acao)
)
(, , )
(, , )
(, , )
UIS.InputBegan:((input, gpe)
gpe
input.KeyCode == .KeyCode.F
gui.Enabled = gui.Enabled
)No se