0, "AssetURL" => "", "PingURL" => "", "UploadURL" => "" ]; if(isset($_GET["PlaceID"]) && is_numeric($_GET["PlaceID"])) { $Params->PlaceID = $_GET["PlaceID"]; $Params->AssetURL = "http://{$_SERVER['HTTP_HOST']}/Asset/?id={$Params->PlaceID}"; $Params->PingURL = "http://{$_SERVER['HTTP_HOST']}/Game/ClientPresence.ashx?PlaceID={$Params->PlaceID}&LocationType=Studio"; } ob_start(); ?> -- Prepended to Edit.lua and Visit.lua and Studio.lua and PlaySolo.lua-- if true then pcall(function() game:SetPlaceID(PlaceID?>) end) else if PlaceID?>>0 then pcall(function() game:SetPlaceID(PlaceID?>) end) end end visit = game:GetService("Visit") local message = Instance.new("Message") message.Parent = workspace message.archivable = false game:GetService("ScriptInformationProvider"):SetAssetUrl("http:///Asset/") game:GetService("ContentProvider"):SetThreadPool(16) pcall(function() game:GetService("InsertService"):SetFreeModelUrl("http:///Game/Tools/InsertAsset.ashx?type=fm&q=%s&pg=%d&rs=%d") end) -- Used for free model search (insert tool) pcall(function() game:GetService("InsertService"):SetFreeDecalUrl("http:///Game/Tools/InsertAsset.ashx?type=fd&q=%s&pg=%d&rs=%d") end) -- Used for free decal search (insert tool) settings().Diagnostics:LegacyScriptMode() game:GetService("InsertService"):SetBaseSetsUrl("http:///Game/Tools/InsertAsset.ashx?nsets=10&type=base") game:GetService("InsertService"):SetUserSetsUrl("http:///Game/Tools/InsertAsset.ashx?nsets=20&type=user&userid=%d") game:GetService("InsertService"):SetCollectionUrl("http:///Game/Tools/InsertAsset.ashx?sid=%d") game:GetService("InsertService"):SetAssetUrl("http:///Asset/?id=%d") game:GetService("InsertService"):SetAssetVersionUrl("http:///Asset/?assetversionid=%d") pcall(function() game:GetService("SocialService"):SetFriendUrl("http:///Game/LuaWebService/HandleSocialRequest.ashx?method=IsFriendsWith&playerid=%d&userid=%d") end) pcall(function() game:GetService("SocialService"):SetBestFriendUrl("http:///Game/LuaWebService/HandleSocialRequest.ashx?method=IsBestFriendsWith&playerid=%d&userid=%d") end) pcall(function() game:GetService("SocialService"):SetGroupUrl("http:///Game/LuaWebService/HandleSocialRequest.ashx?method=IsInGroup&playerid=%d&groupid=%d") end) pcall(function() game:SetCreatorID(0, Enum.CreatorType.User) end) pcall(function() game:SetScreenshotInfo("") end) pcall(function() game:SetVideoInfo("") end) message.Text = "Loading Place. Please wait..." coroutine.yield() game:Load("AssetURL?>") if #"" > 0 then visit:SetUploadUrl("UploadURL?>") end message.Parent = nil game:GetService("ChangeHistoryService"):SetEnabled(true) visit:SetPing("PingURL?>", 60)