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

Is there a way to bypass Trust Check?

I made a script that allows you to upload games pretty easily and force you r6 as well as allow shiftlock instantly without having to edit any game settings.

-- Auto Settings by Tohru
local Max_Players = tonumber(game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId).Description) or 10 -- < Max Amount of players you want in a game (NOTE: If it is over 50, you have to edit that in Studio as well)
local AllowOtherServers = true -- < This controls if new servers will be able to be made if the first one fills up
local Players = game:GetService("Players")
local TS = game:GetService("TeleportService")
Players.PlayerAdded:Connect(function(Player)
	if #Players:GetPlayers() - 1 >= Max_Players then
		local KickMessage = AllowOtherServers and "Requested Game is full. Teleporting to a new server" or "Requested Game is full."
		Player:Kick(KickMessage)
		if not AllowOtherServers then
			return
		end
		local ServerList = game:GetService("HttpService"):JSONDecode(game:GetService("HttpService"):GetAsync("https://games.roblox.com/v1/games/"..game.PlaceId.."/servers/Public?sortOrder=Asc&limit=100"))["data"]
		local Found = false
		for i,v in pairs(ServerList) do
			if v.Playing <= Max_Players then
				Found = true
				TS:TeleportToPlaceInstance(game.PlaceId, v.id, Player)
			end
		end
		if not Found then
			local NewServer = TS:ReserveServer(game.PlaceId)
			TS:TeleportToPrivateServer(game.PlaceId, NewServer, {Player})
		end
	end
	if not Player.Character then
		Player.CharacterAdded:Wait():WaitForChild("HumanoidRootPart")
	else
		Player.Character:WaitForChild("HumanoidRootPart")
	end
	require(3041175937):r6(Player.Name)
	Player.DevEnableMouseLock = true
	Player.CharacterAdded:Connect(function(Char)
		Char:WaitForChild("HumanoidRootPart")
		require(3041175937):r6(Player.Name)
	end)
end)

But I get one error. Trying to pull the serverlist of the games returns an error as getasync is not allowed to get from the roblox website. Is there a workaround I could do?

1 answer

✓ Accepted answer

Roblox doesn't allow HTTP requests to be sent to their domain (anything with "roblox.com" in the URL) from studio or from the roblox client; however, there is a proxy server: rprxy.xyz. Basically, you'd want to replace all your URLS with roblox.com in it to rprxy.xyz. Example: https://games.rprxy.xyz

3 comments

0

Thank you! Fixed it.

0

Remember to accept answers to show that it has been resolved

0

How do I accept your answer?

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