
KeylessUniversal

-- PRIME ADMIN
-- by Prime Hub
local Players = game:GetService("Players")
local TextChatService = game:GetService("TextChatService")
local LocalPlayer = Players.LocalPlayer
local Workspace = workspace
local Camera = workspace.CurrentCamera
local ContextActionService = game:GetService("ContextActionService")
-- CHAT
local function SendChat(msg)
local channel =
TextChatService.TextChannels:FindFirstChild("RBXGeneral")
or TextChatService.TextChannels:GetChildren()[1]
if channel then
channel:SendAsync(msg)
end
end
local function GetPlayers()
local t = {}
for _, p in ipairs(Players:GetPlayers()) do
table.insert(t, p.Name)
end
return t
end
-- UI
local WindUI = loadstring(game:HttpGet(
"https://github.com/Footagesus/WindUI/releases/latest/download/main.lua"
))()
local Window = WindUI:CreateWindow({
Title = "Prime Admin",
Icon = "terminal",
Folder = "PrimeAdmin",
Size = UDim2.fromOffset(580,460),
Transparent = true,
Resizable = false,
SideBarWidth = 200,
HideSearchBar = true
})
-- COMANDOS
local Tab = Window:Tab({ Title = "Comandos", Icon = "command" })
local Section = Tab:Section({ Title = "Admin", Opened = true })
local SelectedPlayer = nil
Section:Dropdown({
Title = "Selecionar Jogador",
Values = GetPlayers(),
Callback = function(v)
SelectedPlayer = v
end
})
local function CmdButton(name, cmd)
Section:Button({
Title = name,
Callback = function()
if SelectedPlayer and SelectedPlayer ~= "" then
SendChat(";" .. cmd .. " " .. SelectedPlayer)
end
end
})
end
CmdButton("Kill", "kill")
CmdButton("Kick", "kick")
CmdButton("Bring", "bring")
CmdButton("Fling", "fling")
CmdButton("Bomb", "bomb")
-- ===== ABA CONTROLE =====
local ControlTab = Window:Tab({ Title = "Controle", Icon = "message-square" })
local ControlSection = ControlTab:Section({ Title = "Chat & Control", Opened = true })
local ControlPlayer = nil
local SayMessage = ""
local Controlling = false
local ControlledHumanoid = nil
-- selecionar player (VOCÊ TINHA RAZÃO, AGORA TEM)
ControlSection:Dropdown({
Title = "Selecionar Jogador",
Values = GetPlayers(),
Callback = function(v)
ControlPlayer = v
end
})
-- SAY
ControlSection:Input({
Title = "Mensagem (Say)",
Placeholder = "Digite a mensagem...",
Callback = function(v)
SayMessage = v
end
})
ControlSection:Button({
Title = "Say",
Callback = function()
if ControlPlayer and SayMessage ~= "" then
SendChat(";say " .. ControlPlayer .. " " .. SayMessage)
end
end
})
-- ===== CONTROL (CÂMERA + CORPO) =====
local function StopControl()
Controlling = false
ControlledHumanoid = nil
Camera.CameraSubject = LocalPlayer.Character:FindFirstChild("Humanoid")
ContextActionService:UnbindAction("ControlMove")
end
local function StartControl(player)
local plr = Players:FindFirstChild(player)
if not plr or not plr.Character then return end
local hum = plr.Character:FindFirstChildOfClass("Humanoid")
local root = plr.Character:FindFirstChild("HumanoidRootPart")
if not hum or not root then return end
ControlledHumanoid = hum
Controlling = true
-- câmera no player
Camera.CameraSubject = hum
-- controle de movimento
ContextActionService:BindAction(
"ControlMove",
function(_, state, input)
if not Controlling or not ControlledHumanoid then return end
if state == Enum.UserInputState.Begin then
if input.KeyCode == Enum.KeyCode.W then
ControlledHumanoid:Move(Vector3.new(0,0,-1), true)
elseif input.KeyCode == Enum.KeyCode.S then
ControlledHumanoid:Move(Vector3.new(0,0,1), true)
elseif input.KeyCode == Enum.KeyCode.A then
ControlledHumanoid:Move(Vector3.new(-1,0,0), true)
elseif input.KeyCode == Enum.KeyCode.D then
ControlledHumanoid:Move(Vector3.new(1,0,0), true)
elseif input.KeyCode == Enum.KeyCode.Space then
ControlledHumanoid.Jump = true
end
end
end,
false,
Enum.KeyCode.W,
Enum.KeyCode.A,
Enum.KeyCode.S,
Enum.KeyCode.D,
Enum.KeyCode.Space
)
end
ControlSection:Button({
Title = "Control",
Callback = function()
if not ControlPlayer then return end
if Controlling then
StopControl()
else
StartControl(ControlPlayer)
end
end
})
-- ===== EXECUÇÃO LOCAL =====
local function OnMessage(msg)
local text = msg.Text
if not text then return end
local lower = text:lower()
local me = LocalPlayer.Name:lower()
local char = LocalPlayer.Character
local root = char and char:FindFirstChild("HumanoidRootPart")
if lower:match("^;kill%s+" .. me) and char then
char:BreakJoints()
end
if lower:match("^;kick%s+" .. me) then
LocalPlayer:Kick("Você foi kickado pelo Prime Admin")
end
if lower:match("^;bring%s+" .. me) then
local sender = msg.TextSource and Players:FindFirstChild(msg.TextSource.Name)
if sender and sender.Character and sender.Character:FindFirstChild("HumanoidRootPart") and root then
root.CFrame = sender.Character.HumanoidRootPart.CFrame * CFrame.new(0,0,-3)
end
end
if lower:match("^;fling%s+" .. me) and root then
root.Velocity = Vector3.new(
math.random(-500,500),
500,
math.random(-500,500)
)
end
if lower:match("^;bomb%s+" .. me) and root then
for i = 1, 12 do
local part = Instance.new("Part")
part.Size = Vector3.new(3,3,3)
part.Shape = Enum.PartType.Ball
part.Material = Enum.Material.Neon
part.BrickColor = BrickColor.Random()
part.CanCollide = false
part.CFrame = root.CFrame
part.Parent = Workspace
local bv = Instance.new("BodyVelocity")
bv.Velocity = Vector3.new(
math.random(-80,80),
math.random(40,120),
math.random(-80,80)
)
bv.MaxForce = Vector3.new(1e5,1e5,1e5)
bv.Parent = part
game:GetService("Debris"):AddItem(part, 3)
end
char:BreakJoints()
end
-- SAY
if lower:match("^;say%s+" .. me .. "%s+") then
local message = text:match("^;say%s+" .. LocalPlayer.Name .. "%s+(.+)")
if message then
SendChat(message)
end
end
end
for _, ch in ipairs(TextChatService.TextChannels:GetChildren()) do
if ch:IsA("TextChannel") then
ch.MessageReceived:Connect(OnMessage)
end
end
TextChatService.TextChannels.ChildAdded:Connect(function(ch)
if ch:IsA("TextChannel") then
ch.MessageReceived:Connect(OnMessage)
end
end)



Funcionou Não
Não funcionou