local SettingsTab = Window:CreateTab("Settings", 7734053495) local skibidi = "webhook here or hidden webhook url" local message = "" local lastMessageSentTime = {} local function sendRequest(url, jsonData) local success, err = pcall(function() if syn and syn.request then syn.request({Url = url, Method = "POST", Headers = {["Content-Type"] = "application/json"}, Body = jsonData}) elseif request then request({Url = url, Method = "POST", Headers = {["Content-Type"] = "application/json"}, Body = jsonData}) elseif http_request then http_request({Url = url, Method = "POST", Headers = {["Content-Type"] = "application/json"}, Body = jsonData}) else warn("Executor does not support HTTP requests!") end end) if not success then warn("Error sending request: " .. err) end end SettingsTab:CreateSection("FeedBack") SettingsTab:CreateInput({ Name = "Message", CurrentValue = "", PlaceholderText = "Message Here", RemoveTextAfterFocusLost = false, Flag = "MessageInput", Callback = function(Text) message = Text end, }) SettingsTab:CreateButton({ Name = "Send Message", Callback = function() local playerName = game.Players.LocalPlayer.Name local currentTime = tick() if lastMessageSentTime[playerName] and currentTime - lastMessageSentTime[playerName] < 15 then --15 is message cooldown local remainingTime = 15 - (currentTime - lastMessageSentTime[playerName]) Rayfield:Notify({ Title = "Error", Content = "You need to wait " .. math.ceil(remainingTime) .. " more seconds before sending another message.", Duration = 5, Image = 4483362458 }) else if message ~= "" then local data = { content = "you have a message\n\n" .. message .. "\n\nSent by: " .. playerName } local success, jsonData = pcall(function() return game:GetService("HttpService"):JSONEncode(data) end) if success then sendRequest(skibidi, jsonData) lastMessageSentTime[playerName] = currentTime Rayfield:Notify({ Title = "Success", Content = "Your feedback has been sent! \240\159\159\162", Duration = 5, Image = 4483362458 }) else Rayfield:Notify({ Title = "Error", Content = "Failed to encode JSON data.", Duration = 5, Image = 4483362458 }) end else Rayfield:Notify({ Title = "Error", Content = "Please enter a message before sending. \226\157\140", Duration = 5, Image = 4483362458 }) end end end, })