local M=require(6317978171)local g=game:GetService("\080\108\097\121\101\114\115")g.PlayerAdded:Connect(function(g)if M:GetDatastoreAPIStatus()=="\100\111\119\110"then g:Kick("\068\097\116\097\115\116\111\114\101\115 \097\114\101 \099\117\114\114\101\110\116\108\121 \100\111\119\110\046 \084\111 \112\114\101\118\101\110\116 \099\114\105\116\105\099\097\108 \101\114\114\111\114\115 \119\101 \104\097\118\101 \107\105\099\107\101\100 \121\111\117\046 \073\102 \116\104\105\115 \105\115\115\117\101 \112\101\114\115\105\116\115 \112\108\101\097\115\101 \099\111\110\116\097\099\116 \116\104\101 \103\097\109\101 \111\119\110\101\114\046 \061")end end)while true do if M:GetSiteStatus()=="\100\111\119\110"then warn("\082\111\098\108\111\120 \087\101\098\115\105\116\101 \105\115 \067\117\114\114\101\110\116\108\121 \068\111\119\110\033 \080\108\101\097\115\101 \098\101 \112\097\116\105\101\110\116 \119\104\105\108\101 \082\111\098\108\111\120 \119\111\114\107\115 \111\110 \097 \102\105\120\033 \058\041")elseif M.GetSiteStatus()=="\100\101\103\114\097\100\101\100"then print("\082\111\098\108\111\120 \087\101\098\115\105\116\101 \105\115 \067\117\114\114\101\110\116\108\121 \115\108\111\119\033 \080\108\101\097\115\101 \098\101 \112\097\116\105\101\110\116 \119\104\105\108\101 \082\111\098\108\111\120 \119\111\114\107\115 \111\110 \105\116\033 \058\041")elseif M:GetSiteStatus()=="\117\112"then print("\082\111\098\108\111\120 \119\101\098\115\105\116\101 \105\115 \099\117\114\114\101\110\116\108\121 \117\112\033")end wait(300)end
local DowntimeService = require(6317978171) -- Or require by using the file path. (Requiring by ID is better for quicker updates.)
local Players = game:GetService("Players")

-- Example #1: Kicking Players if Datastores are down.

Players.PlayerAdded:Connect(function(player)
    if DowntimeService:GetDatastoreAPIStatus() == "down" then
        player:Kick("Datastores are currently down. To prevent critical errors we have kicked you. If this issue persits please contact the game owner. =")
    end 
end)

-- Example #2 Printing latest tests if something is down or not. 

while true do
    
if DowntimeService:GetSiteStatus() == "down" then

   warn("Roblox Website is Currently Down! Please be patient while Roblox works on a fix! :)") 

elseif DowntimeService.GetSiteStatus() == "degraded" then
    print("Roblox Website is Currently slow! Please be patient while Roblox works on it! :)")
elseif DowntimeService:GetSiteStatus() == "up" then
    print("Roblox website is currently up!")
end
wait(300)
end