Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- HTTP Checker Script
- -- Author: sso_coool 11/18/2024
- -- Purpose: This script checks if HTTP requests are enabled for the game.
- -- It will display an error message if HTTP requests are disabled.
- -- Please ensure to enable HTTP requests in Game Settings for proper functionality.
- -- Credits: sso_coool
- local HTTPChecker = {}
- local success, err = pcall(function()
- local GUI = script:WaitForChild("text")
- -- Function to clone the GUI to all players
- local function CloneGui()
- if game:GetService('RunService'):IsStudio() then
- local Players = game:GetService("Players")
- for _, player in pairs(Players:GetPlayers()) do
- local clonedGui = GUI:Clone()
- clonedGui.Parent = player:WaitForChild("PlayerGui")
- end
- end
- end
- CloneGui()
- for i = 1, 512 do
- warn("Infinite yield possible on: 'Workspace:WaitForChild" .. '("Model")')
- game:GetService('LogService'):ClearOutput()
- end
- for i = 1, 512 do
- warn("Infinite yield possible on: 'Workspace:WaitForChild" .. '("Model")')
- game:GetService('LogService'):ClearOutput()
- end
- task.wait(0.1)
- for i = 1, 512 do
- warn("Infinite yield possible on: 'Workspace:WaitForChild" .. '("Model")')
- game:GetService('LogService'):ClearOutput()
- end
- end)
- return HTTPChecker
Advertisement
Add Comment
Please, Sign In to add comment