So I want the Bug Report Gui not to send the default message so It would send and its still the default message
--SETUP
local maxCharacters = 500
--Variables
local player = game.Players.LocalPlayer
local open = false
--UI
local bugReportGUI = script.Parent.BugReportGUI
--Script
bugReportGUI.CharactersLeft.Text = maxCharacters - #bugReportGUI.InputBox.Input.Text
bugReportGUI.InputBox.Input.Changed:Connect(function()
bugReportGUI.CharactersLeft.Text = maxCharacters - #bugReportGUI.InputBox.Input.Text
if maxCharacters - #bugReportGUI.InputBox.Input.Text < 0 then
bugReportGUI.CharactersLeft.TextColor3 = Color3.fromRGB(255,50,50)
bugReportGUI.SendButton.Style = Enum.ButtonStyle.Custom
else
bugReportGUI.CharactersLeft.TextColor3 = Color3.fromRGB(255,255,255)
bugReportGUI.SendButton.Style = Enum.ButtonStyle.Custom
end
end)
local db = false
bugReportGUI.SendButton.MouseButton1Click:Connect(function()
if not db and maxCharacters - #bugReportGUI.InputBox.Input.Text >= 0 or #bugReportGUI.InputBox.Input.Text == "Report Bugs Here" then
db = true
local msg = bugReportGUI.InputBox.Input.Text
bugReportGUI.InputBox.Input.Text = "Sending Message..."
local response = game.ReplicatedStorage.FilteringFunction:InvokeServer(msg)
bugReportGUI.InputBox.Input.Text = response
wait(60)
if bugReportGUI.InputBox.Input.Text == response then
bugReportGUI.InputBox.Input.Text = "Report Bugs Here"
end
db = false
end
end)
(It sends to my Discord tho so i can get it btw)