Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

HttpService: Trust check failed, operation completed successfully?

Asked by
P100D 590 Moderation Voter
9 years ago

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

Log in to vote
0
Answered by
Scriptecx 124
9 years ago

I use this: rproxy.pw Just replace www.roblox.com with rproxy.pw and it should work.

Ad
Log in to vote
0
Answered by 9 years ago

Having the same problem. I dont think you can get links with http://www.roblox.com/ in the beginning of them.

Answer this question