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
