-- Roblox GUI Script
local ScreenGui = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local TextButton = Instance.new("TextButton")
-- Parent GUI
ScreenGui.Parent = game:GetService("CoreGui")
-- Frame
Frame.Parent = ScreenGui
Frame.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
Frame.Position = UDim2.new(0.4, 0, 0.4, 0)
Frame.Size = UDim2.new(0, 200, 0, 100)
Frame.Active = true
Frame.Draggable = true
-- Button
TextButton.Parent = Frame
TextButton.Size = UDim2.new(0, 160, 0, 50)
TextButton.Position = UDim2.new(0.1, 0, 0.25, 0)
TextButton.Text = "Spam"
TextButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
TextButton.TextScaled = true
-- Click Event
TextButton.MouseButton1Click:Connect(function()
local args = {
"Haked LOL",
"All"
}
game:GetService("ReplicatedStorage")
:WaitForChild("DefaultChatSystemChatEvents")
:WaitForChild("SayMessageRequest")
:FireServer(unpack(args))
end)
Comments
Pls comment