Why does line22 not have access through my webhook? But does when I write one through RblxStudio

I am trying to make an appeal or report game, the game uses a webhook to get the players message.

And I asked chatgpt about this and I do have the permissions to use the webhook in a RobloxPlayer environment, but do in a RblxStudio environment.

local player = game.Players.LocalPlayer
local maxCharacters = 250
local open = false
local db = false
local feedbackMain = script.Parent.Frame

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
		feedbackMain.CharactersLeft.TextColor3 = Color3.fromRGB(255,50,50)
	else
		feedbackMain.CharactersLeft.TextColor3 = Color3.fromRGB(255,255,255)
	end
end)

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 = "Sending Message..."
		local response = game.ReplicatedStorage.FilteringFunction:InvokeServer(msg) -- The problem
		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()
	if open == false then
		open = true
		feedbackMain.Visible = true
	else
		open = false
		feedbackMain.Visible = false
	end
end)

Line 22 is the problem here.
Heres a video too(Dont mind the replicated storage typo i fixed it already)

Can anyone help?

Discord disallows requests coming from roblox due to api abuse.
You will have to use one of the free discord proxy resources.
Make sure to correctly implement ratelimiting.

Since discord blocked roblox servers, use https://hooks.hyra.io as proxy.

Ty so much for this solution! <3

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.