Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

HttpService: Trust check failed, operation completed successfully?

I have a script here that should work, but gives me the error: "Trust check failed, The operation completed successfully." How do I fix this?

function getVersion()
    local gameLink = "http://www.roblox.com/games/252491884/Defend"
    local html = game:GetService("HttpService"):GetAsync(gameLink, true)
    local pattern = [[<h1 class="game-name" title="Defend! [%d+.%d+.%d+] [Public InDev]">Defend! [0.2.5] [Public InDev]</h1>]]
    local ver =  (html:match(pattern):match("%d+.%d+.%d+"))
    return ver
end

while true do
	script.Parent.Text = getVersion()
	wait(60)
end

2 answers

This discussion is preserved as it was. New answers, comments, and votes are closed.