local gui = Instance.new("ScreenGui") gui.Parent = game.CoreGui local frame = Instance.new("Frame") frame.Parent = gui frame.Size = UDim2.new(0,160,0,80) frame.Position = UDim2.new(0.5,-80,0.5,-40) frame.BackgroundColor3 = Color3.fromRGB(40,40,40) frame.Active = true frame.Draggable = true local button = Instance.new("TextButton") button.Parent = frame button.Size = UDim2.new(1,-20,0,40) button.Position = UDim2.new(0,10,0,20) button.Text = "Say Hello" button.BackgroundColor3 = Color3.fromRGB(60,60,60) button.TextColor3 = Color3.fromRGB(255,255,255) button.MouseButton1Click:Connect(function() game:GetService("TextChatService").ChatInputBarConfiguration.TargetTextChannel:SendAsync("Hello") end)