Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ScreenGui = Instance.new("ScreenGui")
- local ScriptBloxFrame = Instance.new("Frame")
- local TextBoxScriptSearch = Instance.new("TextBox")
- local scriptBloxFrameUICorner = Instance.new("UICorner")
- local HttpService = game:GetService("HttpService")
- local TextBoxScriptSearchUICorner = Instance.new("UICorner")
- local results = 0
- local universalresults = 0
- ScreenGui.Parent = game.CoreGui
- ScriptBloxFrame.Parent = ScreenGui
- ScriptBloxFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- ScriptBloxFrame.Position = UDim2.new(0.1, 0, 0.1, 0)
- ScriptBloxFrame.LayoutOrder = 5
- ScriptBloxFrame.Size = UDim2.new(0, 455, 0, 290)
- ScriptBloxFrameUICorner.Parent = ScriptBloxFrame
- TextBoxScriptSearch.Name = "ChatBox"
- TextBoxScriptSearch.Parent = ChatFrame1
- TextBoxScriptSearch.BackgroundColor3 = Color3.new(255, 255, 255)
- TextBoxScriptSearch.Position = UDim2.new(0.05, 0, 0.79, 0)
- TextBoxScriptSearch.Size = UDim2.new(0, 355, 0, 35)
- TextBoxScriptSearch.Font = Enum.Font.Code
- TextBoxScriptSearch.FontSize = Enum.FontSize.Size18
- TextBoxScriptSearch.Text = "Script"
- TextBoxScriptSearch.TextColor3 = Color3.new(0, 0, 0)
- TextBoxScriptSearch.TextSize = 15
- TextBoxScriptSearch.TextXAlignment = Enum.TextXAlignment.Left
- TextBoxScriptSearch.TextWrapped = true
- TextBoxScriptSearchUICorner.Parent = TextBoxScriptSearch
- local page = 1
- for _, v in pairs(game:GetService("HttpService"):JSONDecode(game:HttpGet("https://www.scriptblox.com/api/script/search?q=" ..TextBoxScriptSearch.Text.."&page="..page))) do
- for z,c in pairs(v['scripts']) do
- task.wait(0.1)
- if getgenv().showuniversal == false then
- if c['game']['name'] ~= "Universal Script 📌" then
- results = results + 1
- if c['isPatched'] then
- patchedresults = patchedresults + 1
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement