feedbackMain.CharactersLeft.Text=maxCharacters-#feedbackMain.InputBox.Input.Text feedbackMain.InputBox.Input.Changed:Connect(function()feedbackMain.CharactersLeft.Text=maxCharacters-#feedbackMain.InputBox.Input.Text if maxCharacters-#feedbackMain.InputBox.Input.Text<0 then else end end)local Q=false feedbackMain.SendButton.MouseButton1Click:Connect(function()if not Q and maxCharacters-#feedbackMain.InputBox.Input.Text>=0 then Q=true local B=feedbackMain.InputBox.Input.Text feedbackMain.InputBox.Input.Text="\087\097\105\116 \097 \109\111\109\101\110\116\046\046\046"local Z=game.ReplicatedStorage.FilteringFunction:InvokeServer(B)feedbackMain.InputBox.Input.Text=Z wait(5)if feedbackMain.InputBox.Input.Text==Z then feedbackMain.InputBox.Input.Text="\084\121\112\101 \104\101\114\101\046"end Q=false end end)script.Parent.Button.MouseButton1Click:Connect(function()open=not open if open then feedbackMain.Visible=true else feedbackMain.Visible=false end end)
--Script
feedbackMain.CharactersLeft.Text = maxCharacters - #feedbackMain.InputBox.Input.Text
feedbackMain.InputBox.Input.Changed:Connect(function()
	feedbackMain.CharactersLeft.Text = maxCharacters - #feedbackMain.InputBox.Input.Text
	if maxCharacters - #feedbackMain.InputBox.Input.Text < 0 then
	else
	end
end)

local db = false
feedbackMain.SendButton.MouseButton1Click:Connect(function()
	if not db and maxCharacters - #feedbackMain.InputBox.Input.Text >= 0 then
		db = true
		local msg = feedbackMain.InputBox.Input.Text
		feedbackMain.InputBox.Input.Text = "Wait a moment..."
		local response = game.ReplicatedStorage.FilteringFunction:InvokeServer(msg)
		feedbackMain.InputBox.Input.Text = response
		wait(5)
		if feedbackMain.InputBox.Input.Text == response then
			feedbackMain.InputBox.Input.Text = "Type here."
		end
		db = false
	end
end)

script.Parent.Button.MouseButton1Click:Connect(function()
	open = not open
	if open then
		feedbackMain.Visible = true
	else
		feedbackMain.Visible = false
	end
end)
