ADVERTISEMENTREMOVE ADS
Game icon

Bot script[beta]

Just a Baseplate.
2 months ago
Script preview thumbnail
Script Preview
ADVERTISEMENTREMOVE ADS
128 Lines • 4.15 KiB
Raw
-- Bot Chat GUI
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local TweenService = game:GetService("TweenService")
local UserInputService = game:GetService("UserInputService")
local HttpService = game:GetService("HttpService")
-- Função para copiar texto
local function copyToClipboard(text)
if setclipboard then
setclipboard(text)
end
end
-- Criação da ScreenGui
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Parent = game:GetService("CoreGui")
ScreenGui.Name = "BotChatGUI"
-- Fundo principal
local Frame = Instance.new("Frame")
Frame.Parent = ScreenGui
Frame.Size = UDim2.new(0, 400, 0, 500)
Frame.Position = UDim2.new(0.5, -200, 0.5, -250)
Frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
Frame.BorderSizePixel = 0
Frame.AnchorPoint = Vector2.new(0.5, 0.5)
Frame.Active = true
Frame.Draggable = true
Frame.ClipsDescendants = true
-- Título
local Title = Instance.new("TextLabel")
Title.Parent = Frame
Title.Size = UDim2.new(1, 0, 0, 50)
Title.BackgroundTransparency = 1
Title.Text = "🤖 Bot Chat"
Title.TextColor3 = Color3.fromRGB(255, 255, 255)
Title.Font = Enum.Font.GothamBold
Title.TextSize = 25
-- Área de texto
local TextBox = Instance.new("TextBox")
TextBox.Parent = Frame
TextBox.Size = UDim2.new(0.9, 0, 0, 50)
TextBox.Position = UDim2.new(0.05, 0, 0, 400)
TextBox.BackgroundColor3 = Color3.fromRGB(45,45,45)
TextBox.TextColor3 = Color3.fromRGB(255,255,255)
TextBox.PlaceholderText = "Digite aqui..."
TextBox.Font = Enum.Font.Gotham
TextBox.TextSize = 20
TextBox.ClearTextOnFocus = false
-- Botão enviar
local Button = Instance.new("TextButton")
Button.Parent = Frame
Button.Size = UDim2.new(0.3, 0, 0, 40)
Button.Position = UDim2.new(0.35, 0, 0, 450)
Button.BackgroundColor3 = Color3.fromRGB(70,130,180)
Button.TextColor3 = Color3.fromRGB(255,255,255)
Button.Font = Enum.Font.GothamBold
Button.TextSize = 20
Button.Text = "Enviar"
-- Área de mensagens
local MsgFrame = Instance.new("ScrollingFrame")
MsgFrame.Parent = Frame
MsgFrame.Size = UDim2.new(0.95, 0, 0, 330)
MsgFrame.Position = UDim2.new(0.025, 0, 0, 60)
MsgFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
MsgFrame.ScrollBarThickness = 5
MsgFrame.BackgroundTransparency = 1
MsgFrame.AutomaticCanvasSize = Enum.AutomaticSize.Y
local UIListLayout = Instance.new("UIListLayout")
UIListLayout.Parent = MsgFrame
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout.Padding = UDim.new(0,5)
-- Função para adicionar mensagem
local function addMessage(text, color)
local Msg = Instance.new("TextLabel")
Msg.Parent = MsgFrame
Msg.Size = UDim2.new(1,0,0,30)
Msg.BackgroundTransparency = 1
Msg.TextColor3 = color
Msg.Font = Enum.Font.Gotham
Msg.TextSize = 18
Msg.Text = text
end
-- Comandos
local Scripts = {
["fly v3"] = 'loadstring(game:HttpGet("https://rawscripts.net/raw/Universal-Script-Fly-V3-48359"))()',
["seraphic"] = 'loadstring(game:HttpGet("https://rawscripts.net/raw/Universal-Script-FE-Seraphic-Blade-Fling-No-key-40347"))()',
["tiger x"] = 'loadstring(game:HttpGet("https://rawscripts.net/raw/Universal-Script-Tiger-x-34229"))()',
["tiktok emote"] = 'loadstring(game:HttpGet("https://rawscripts.net/raw/Universal-Script-TIKTOK-Emote-Gui-Script-48411"))()'
}
-- Função para processar mensagem
local function processCommand(msg)
local lower = string.lower(msg)
if Scripts[lower] then
addMessage("Bot: Script encontrado! Copiado para a área de transferência.", Color3.fromRGB(0,255,0))
copyToClipboard(Scripts[lower])
else
addMessage("Bot: Comando não encontrado.", Color3.fromRGB(255,0,0))
end
end
-- Clique no botão
Button.MouseButton1Click:Connect(function()
local text = TextBox.Text
if text ~= "" then
addMessage("Você: "..text, Color3.fromRGB(255,255,255))
processCommand(text)
TextBox.Text = ""
end
end)
-- Enter para enviar
TextBox.FocusLost:Connect(function(enterPressed)
if enterPressed then
Button:MouseButton1Click()
end
end)
addMessage("Bot: Olá! Digite o comando para receber o script.", Color3.fromRGB(0,255,255))
ADVERTISEMENTREMOVE ADS

Comments

0 comments
to add a comment
Loading comments
ADVERTISEMENTREMOVE ADS