i have a module script with a chatbot but the script randomly pauses at a certain line of code
it worked fine yesterday, now it broke
the script is here
function cleverbot.GetMessage(message, chatbotname)
print("e") -- this prints
local split = message:gsub(" ", "+")
print("https://api.affiliateplus.xyz/api/chatbot?message=" .. split .. "&botname=" .. chatbotname .. "&ownername=" .. _G.Owner .. "&user=1") --script pauses here
print("e") -- doesnt print
local response = httpService:GetAsync(("https://api.affiliateplus.xyz/api/chatbot?message=" .. split .. "&botname=" .. chatbotname .. "&ownername=" .. _G.Owner .. "&user=1"))
local data = httpService:JSONDecode(response)
print(data)
return data.message
end