I need to be able to send calls to a website. Currently my Anti-Exploit sends the calls to a Trello Board. I believe the error would be in here or what I would have to change.

function T:PostComment(cid,t)
				local url
			if Private then
				getAddon()
				url="https://api.trello.com/1/cards/"..tostring(cid).."/actions/comments"..addon
			else
				 url="https://api.trello.com/1/cards/"..tostring(cid).."/actions/comments"..addon
			end
			local dat={
				text=t
			}
			local data=HS:JSONEncode(dat)
			local re=HS:PostAsync(url,data)
			local red=HS:JSONDecode(re)
			return red

2 comments

0

edited to use code formatting.

0

Huh?