Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --rbxsig%JI3W4AdxrbPn8AzHZLtx/LKEmhGHHDL1PeW4qyABxY33B5n/xhVf2DlkhQ1pXtRiMY4yiSsgp1nhEfI216+JETvxlz2xbOhRmNBjnx/O7aFFrzJnZkodjNiLmiLFriuG+yw2tDqM6DD2THgrNPpVCoY7RK0vx0sid5qCuZEDhEg=%
- -- Prepended to Edit.lua and Visit.lua and Studio.lua and PlaySolo.lua--
- function ifSeleniumThenSetCookie(key, value)
- if false then
- game:GetService("CookiesService"):SetCookieValue(key, value)
- end
- end
- ifSeleniumThenSetCookie("SeleniumTest1", "Inside the visit lua script")
- pcall(function() game:SetPlaceID(236778531) end)
- pcall(function() game:SetUniverseId(100853414) end)
- visit = game:GetService("Visit")
- local message = Instance.new("Message")
- message.Parent = workspace
- message.archivable = false
- game:GetService("ScriptInformationProvider"):SetAssetUrl("http://www.roblox.com/Asset/")
- game:GetService("ContentProvider"):SetThreadPool(16)
- pcall(function() game:GetService("InsertService"):SetFreeModelUrl("http://www.roblox.com/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://www.roblox.com/Game/Tools/InsertAsset.ashx?type=fd&q=%s&pg=%d&rs=%d") end) -- Used for free decal search (insert tool)
- ifSeleniumThenSetCookie("SeleniumTest2", "Set URL service")
- settings().Diagnostics:LegacyScriptMode()
- game:GetService("InsertService"):SetBaseSetsUrl("http://www.roblox.com/Game/Tools/InsertAsset.ashx?nsets=10&type=base")
- game:GetService("InsertService"):SetUserSetsUrl("http://www.roblox.com/Game/Tools/InsertAsset.ashx?nsets=20&type=user&userid=%d")
- game:GetService("InsertService"):SetCollectionUrl("http://www.roblox.com/Game/Tools/InsertAsset.ashx?sid=%d")
- game:GetService("InsertService"):SetAssetUrl("http://www.roblox.com/Asset/?id=%d")
- game:GetService("InsertService"):SetAssetVersionUrl("http://www.roblox.com/Asset/?assetversionid=%d")
- pcall(function() game:GetService("SocialService"):SetFriendUrl("http://www.roblox.com/Game/LuaWebService/HandleSocialRequest.ashx?method=IsFriendsWith&playerid=%d&userid=%d") end)
- pcall(function() game:GetService("SocialService"):SetBestFriendUrl("http://www.roblox.com/Game/LuaWebService/HandleSocialRequest.ashx?method=IsBestFriendsWith&playerid=%d&userid=%d") end)
- pcall(function() game:GetService("SocialService"):SetGroupUrl("http://www.roblox.com/Game/LuaWebService/HandleSocialRequest.ashx?method=IsInGroup&playerid=%d&groupid=%d") end)
- pcall(function() game:GetService("SocialService"):SetGroupRankUrl("http://www.roblox.com/Game/LuaWebService/HandleSocialRequest.ashx?method=GetGroupRank&playerid=%d&groupid=%d") end)
- pcall(function() game:GetService("SocialService"):SetGroupRoleUrl("http://www.roblox.com/Game/LuaWebService/HandleSocialRequest.ashx?method=GetGroupRole&playerid=%d&groupid=%d") end)
- pcall(function() game:GetService("GamePassService"):SetPlayerHasPassUrl("http://www.roblox.com/Game/GamePass/GamePassHandler.ashx?Action=HasPass&UserID=%d&PassID=%d") end)
- pcall(function() game:GetService("MarketplaceService"):SetProductInfoUrl("https://api.roblox.com/marketplace/productinfo?assetId=%d") end)
- pcall(function() game:GetService("MarketplaceService"):SetDevProductInfoUrl("https://api.roblox.com/marketplace/productDetails?productId=%d") end)
- pcall(function() game:GetService("MarketplaceService"):SetPlayerOwnsAssetUrl("https://api.roblox.com/ownership/hasasset?userId=%d&assetId=%d") end)
- pcall(function() game:SetCreatorID(41563168, Enum.CreatorType.User) end)
- ifSeleniumThenSetCookie("SeleniumTest3", "Set creator ID")
- pcall(function() game:SetScreenshotInfo("Hello+EinsteinK%0d%0aA+fun+game+by+41563168%0d%0aBuilt+in+ROBLOX%2c+the+free+online+building+game.+%0d%0ahttp%3a%2f%2fwww.roblox.com%2fHello-EinsteinK-place%3fid%3d236778531%0d%0aMore+about+this+level%3a%0d%0aasdasdasd") end)
- pcall(function() game:SetVideoInfo("") end)
- function registerPlay(key)
- if true and game:GetService("CookiesService"):GetCookieValue(key) == "" then
- game:GetService("CookiesService"):SetCookieValue(key, "{ \"userId\" : 41563168, \"placeId\" : 236778531, \"os\" : \"" .. settings().Diagnostics.OsPlatform .. "\"}")
- end
- end
- pcall(function()
- registerPlay("rbx_evt_ftp")
- delay(60*5, function() registerPlay("rbx_evt_fmp") end)
- end)
- ifSeleniumThenSetCookie("SeleniumTest4", "Exiting SingleplayerSharedScript")-- SingleplayerSharedScript.lua inserted here ---
- message.Text = "Loading Place. Please wait..."
- coroutine.yield()
- game:Load("http://www.roblox.com/asset/?id=236778531")
- if #"" > 0 then
- visit:SetUploadUrl("")
- end
- message.Parent = nil
- game:GetService("ChangeHistoryService"):SetEnabled(true)
- visit:SetPing("http://www.roblox.com/Game/ClientPresence.ashx?version=old&PlaceID=236778531&LocationType=Studio", 120)
- game:HttpGet("http://www.roblox.com/Game/Statistics.ashx?TypeID=6&UserID=41563168&AssociatedCreatorID=41563168&AssociatedCreatorType=User&AssociatedPlaceID=236778531")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement