local ScreenGui = Instance.new("ScreenGui",owner.PlayerGui)
ScreenGui.Name = "ScreenGui"
ScreenGui.ResetOnSpawn = false
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
local Client = Instance.new("Frame")
Client.Name = "Client"
Client.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Client.BackgroundTransparency = 1
Client.BorderColor3 = Color3.fromRGB(0, 0, 0)
Client.BorderSizePixel = 0
Client.Position = UDim2.fromScale(0, 0.0615)
Client.Size = UDim2.fromScale(0.414, 0.283)
local UIListLayout = Instance.new("UIListLayout")
UIListLayout.Name = "UIListLayout"
UIListLayout.Padding = UDim.new(0, 5)
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout.Parent = Client
local Ping = Instance.new("TextLabel")
Ping.Name = "ping"
Ping.FontFace = Font.new("rbxasset://fonts/families/SourceSansPro.json")
Ping.Text = "Ping"
Ping.TextColor3 = Color3.fromRGB(255, 255, 255)
Ping.TextScaled = true
Ping.TextSize = 14
Ping.TextStrokeTransparency = 0
Ping.TextWrapped = true
Ping.TextXAlignment = Enum.TextXAlignment.Left
Ping.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Ping.BackgroundTransparency = 1
Ping.BorderColor3 = Color3.fromRGB(0, 0, 0)
Ping.BorderSizePixel = 0
Ping.Size = UDim2.fromScale(1, 0.155)
local UIPadding = Instance.new("UIPadding")
UIPadding.Name = "UIPadding"
UIPadding.PaddingLeft = UDim.new(0, 10)
UIPadding.Parent = Ping
Ping.Parent = Client
local Fps = Instance.new("TextLabel")
Fps.Name = "fps"
Fps.FontFace = Font.new("rbxasset://fonts/families/SourceSansPro.json")
Fps.Text = "FPS: "
Fps.TextColor3 = Color3.fromRGB(255, 255, 255)
Fps.TextScaled = true
Fps.TextSize = 14
Fps.TextStrokeTransparency = 0
Fps.TextWrapped = true
Fps.TextXAlignment = Enum.TextXAlignment.Left
Fps.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Fps.BackgroundTransparency = 1
Fps.BorderColor3 = Color3.fromRGB(0, 0, 0)
Fps.BorderSizePixel = 0
Fps.Position = UDim2.fromScale(0, 0.186)
Fps.Size = UDim2.fromScale(1, 0.155)
local UIPadding1 = Instance.new("UIPadding")
UIPadding1.Name = "UIPadding"
UIPadding1.PaddingLeft = UDim.new(0, 10)
UIPadding1.Parent = Fps
Fps.Parent = Client
local Mm = Instance.new("TextLabel")
Mm.Name = "mm"
Mm.FontFace = Font.new("rbxasset://fonts/families/SourceSansPro.json")
Mm.Text = "Memory Usage:"
Mm.TextColor3 = Color3.fromRGB(255, 255, 255)
Mm.TextScaled = true
Mm.TextSize = 14
Mm.TextStrokeTransparency = 0
Mm.TextWrapped = true
Mm.TextXAlignment = Enum.TextXAlignment.Left
Mm.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Mm.BackgroundTransparency = 1
Mm.BorderColor3 = Color3.fromRGB(0, 0, 0)
Mm.BorderSizePixel = 0
Mm.Position = UDim2.fromScale(0, 0.373)
Mm.Size = UDim2.fromScale(1, 0.155)
local UIPadding2 = Instance.new("UIPadding")
UIPadding2.Name = "UIPadding"
UIPadding2.PaddingLeft = UDim.new(0, 10)
UIPadding2.Parent = Mm
Mm.Parent = Client
local Gc = Instance.new("TextLabel")
Gc.Name = "gc"
Gc.FontFace = Font.new("rbxasset://fonts/families/SourceSansPro.json")
Gc.Text = "GcInfo:"
Gc.TextColor3 = Color3.fromRGB(255, 255, 255)
Gc.TextScaled = true
Gc.TextSize = 14
Gc.TextStrokeTransparency = 0
Gc.TextWrapped = true
Gc.TextXAlignment = Enum.TextXAlignment.Left
Gc.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Gc.BackgroundTransparency = 1
Gc.BorderColor3 = Color3.fromRGB(0, 0, 0)
Gc.BorderSizePixel = 0
Gc.Position = UDim2.fromScale(0, 0.559)
Gc.Size = UDim2.fromScale(1, 0.155)
local UIPadding3 = Instance.new("UIPadding")
UIPadding3.Name = "UIPadding"
UIPadding3.PaddingLeft = UDim.new(0, 10)
UIPadding3.Parent = Gc
Gc.Parent = Client
local Pfps = Instance.new("TextLabel")
Pfps.Name = "pfps"
Pfps.FontFace = Font.new("rbxasset://fonts/families/SourceSansPro.json")
Pfps.Text = "Phycis FPS:"
Pfps.TextColor3 = Color3.fromRGB(255, 255, 255)
Pfps.TextScaled = true
Pfps.TextSize = 14
Pfps.TextStrokeTransparency = 0
Pfps.TextWrapped = true
Pfps.TextXAlignment = Enum.TextXAlignment.Left
Pfps.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Pfps.BackgroundTransparency = 1
Pfps.BorderColor3 = Color3.fromRGB(0, 0, 0)
Pfps.BorderSizePixel = 0
Pfps.Position = UDim2.fromScale(0, 0.186)
Pfps.Size = UDim2.fromScale(1, 0.155)
local UIPadding4 = Instance.new("UIPadding")
UIPadding4.Name = "UIPadding"
UIPadding4.PaddingLeft = UDim.new(0, 10)
UIPadding4.Parent = Pfps
Pfps.Parent = Client
Client.Parent = ScreenGui
local Cl = Instance.new("TextLabel")
Cl.Name = "cl"
Cl.FontFace = Font.new("rbxasset://fonts/families/Ubuntu.json")
Cl.Text = "Client Info:"
Cl.TextColor3 = Color3.fromRGB(255, 255, 255)
Cl.TextSize = 35
Cl.TextStrokeTransparency = 0
Cl.TextXAlignment = Enum.TextXAlignment.Left
Cl.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Cl.BackgroundTransparency = 1
Cl.BorderColor3 = Color3.fromRGB(0, 0, 0)
Cl.BorderSizePixel = 0
Cl.Size = UDim2.fromScale(0.306, 0.0615)
local UIPadding5 = Instance.new("UIPadding")
UIPadding5.Name = "UIPadding"
UIPadding5.PaddingLeft = UDim.new(0, 10)
UIPadding5.Parent = Cl
Cl.Parent = ScreenGui
local Serv = Instance.new("TextLabel")
Serv.Name = "Serv"
Serv.FontFace = Font.new("rbxasset://fonts/families/Ubuntu.json")
Serv.Text = "Server Info:"
Serv.TextColor3 = Color3.fromRGB(255, 255, 255)
Serv.TextSize = 35
Serv.TextStrokeTransparency = 0
Serv.TextXAlignment = Enum.TextXAlignment.Left
Serv.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Serv.BackgroundTransparency = 1
Serv.BorderColor3 = Color3.fromRGB(0, 0, 0)
Serv.BorderSizePixel = 0
Serv.Position = UDim2.fromScale(0, 0.344)
Serv.Size = UDim2.fromScale(0.306, 0.0615)
local UIPadding6 = Instance.new("UIPadding")
UIPadding6.Name = "UIPadding"
UIPadding6.PaddingLeft = UDim.new(0, 10)
UIPadding6.Parent = Serv
Serv.Parent = ScreenGui
local Server = Instance.new("Frame")
Server.Name = "Server"
Server.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Server.BackgroundTransparency = 1
Server.BorderColor3 = Color3.fromRGB(0, 0, 0)
Server.BorderSizePixel = 0
Server.Position = UDim2.fromScale(0, 0.406)
Server.Size = UDim2.fromScale(0.414, 0.283)
local UIListLayout1 = Instance.new("UIListLayout")
UIListLayout1.Name = "UIListLayout"
UIListLayout1.Padding = UDim.new(0, 5)
UIListLayout1.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout1.Parent = Server
local Fps1 = Instance.new("TextLabel")
Fps1.Name = "fps"
Fps1.FontFace = Font.new("rbxasset://fonts/families/SourceSansPro.json")
Fps1.Text = "FPS: "
Fps1.TextColor3 = Color3.fromRGB(255, 255, 255)
Fps1.TextScaled = true
Fps1.TextSize = 14
Fps1.TextStrokeTransparency = 0
Fps1.TextWrapped = true
Fps1.TextXAlignment = Enum.TextXAlignment.Left
Fps1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Fps1.BackgroundTransparency = 1
Fps1.BorderColor3 = Color3.fromRGB(0, 0, 0)
Fps1.BorderSizePixel = 0
Fps1.Position = UDim2.fromScale(0, 0.186)
Fps1.Size = UDim2.fromScale(1, 0.155)
local UIPadding7 = Instance.new("UIPadding")
UIPadding7.Name = "UIPadding"
UIPadding7.PaddingLeft = UDim.new(0, 10)
UIPadding7.Parent = Fps1
Fps1.Parent = Server
local Mm1 = Instance.new("TextLabel")
Mm1.Name = "mm"
Mm1.FontFace = Font.new("rbxasset://fonts/families/SourceSansPro.json")
Mm1.Text = "Memory Usage:"
Mm1.TextColor3 = Color3.fromRGB(255, 255, 255)
Mm1.TextScaled = true
Mm1.TextSize = 14
Mm1.TextStrokeTransparency = 0
Mm1.TextWrapped = true
Mm1.TextXAlignment = Enum.TextXAlignment.Left
Mm1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Mm1.BackgroundTransparency = 1
Mm1.BorderColor3 = Color3.fromRGB(0, 0, 0)
Mm1.BorderSizePixel = 0
Mm1.Position = UDim2.fromScale(0, 0.373)
Mm1.Size = UDim2.fromScale(1, 0.155)
local UIPadding8 = Instance.new("UIPadding")
UIPadding8.Name = "UIPadding"
UIPadding8.PaddingLeft = UDim.new(0, 10)
UIPadding8.Parent = Mm1
Mm1.Parent = Server
local Gc1 = Instance.new("TextLabel")
Gc1.Name = "gc"
Gc1.FontFace = Font.new("rbxasset://fonts/families/SourceSansPro.json")
Gc1.Text = "GcInfo:"
Gc1.TextColor3 = Color3.fromRGB(255, 255, 255)
Gc1.TextScaled = true
Gc1.TextSize = 14
Gc1.TextStrokeTransparency = 0
Gc1.TextWrapped = true
Gc1.TextXAlignment = Enum.TextXAlignment.Left
Gc1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Gc1.BackgroundTransparency = 1
Gc1.BorderColor3 = Color3.fromRGB(0, 0, 0)
Gc1.BorderSizePixel = 0
Gc1.Position = UDim2.fromScale(0, 0.559)
Gc1.Size = UDim2.fromScale(1, 0.155)
local UIPadding9 = Instance.new("UIPadding")
UIPadding9.Name = "UIPadding"
UIPadding9.PaddingLeft = UDim.new(0, 10)
UIPadding9.Parent = Gc1
Gc1.Parent = Server
Server.Parent = ScreenGui
local Interval = Instance.new("TextLabel")
Interval.Name = "interval"
Interval.FontFace = Font.new("rbxasset://fonts/families/SourceSansPro.json")
Interval.RichText = true
Interval.Text = "Update Status: <font color=\"rgb(5,255,0)\">NORMAL</font>"
Interval.TextColor3 = Color3.fromRGB(255, 255, 255)
Interval.TextScaled = true
Interval.TextSize = 14
Interval.TextStrokeTransparency = 0
Interval.TextWrapped = true
Interval.TextXAlignment = Enum.TextXAlignment.Left
Interval.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Interval.BackgroundTransparency = 1
Interval.BorderColor3 = Color3.fromRGB(0, 0, 0)
Interval.BorderSizePixel = 0
Interval.Position = UDim2.fromScale(0, 0.689)
Interval.Size = UDim2.fromScale(0.414, 0.0439)
local UIPadding10 = Instance.new("UIPadding")
UIPadding10.Name = "UIPadding"
UIPadding10.PaddingLeft = UDim.new(0, 10)
UIPadding10.Parent = Interval
Interval.Parent = ScreenGui
local LocalScript = Instance.new("LocalScript")
LocalScript.Name = "LocalScript"
LocalScript.Parent = ScreenGui
local Info = Instance.new("RemoteEvent")
Info.Name = "Info"
Info.Parent = ScreenGui
NLS([=[
local Mine = script.Parent.Client
local Player = game.Players.LocalPlayer
local rs = game:GetService("RunService")
local TimeFunction = rs:IsRunning() and time or os.clock
local LastIteration, Start
local FrameUpdateTable = {}
local Stats = game:GetService("Stats")
local Rem = script.Parent.Info
local Last = tick()
rs.RenderStepped:Connect(function(dt)
local fps = math.round(1 / dt)
local PFps = workspace:GetRealPhysicsFPS()
Mine:WaitForChild("ping").Text = string.format("Ping: %d",Player:GetNetworkPing())
Mine:WaitForChild("pfps").Text = string.format("Physics FPS: %d",workspace:GetRealPhysicsFPS())
Mine:WaitForChild("gc").Text = string.format("GcInfo: %d",gcinfo())
Mine:WaitForChild("mm").Text = string.format("Memory Usage: %d MB",Stats:GetTotalMemoryUsageMb())
LastIteration = TimeFunction()
for Index = #FrameUpdateTable, 1, -1 do
FrameUpdateTable[Index + 1] = FrameUpdateTable[Index] >= LastIteration - 1 and FrameUpdateTable[Index] or nil
end
FrameUpdateTable[1] = LastIteration
Mine:WaitForChild("fps").Text = "FPS: "..tostring(math.floor(TimeFunction() - Start >= 1 and #FrameUpdateTable or #FrameUpdateTable / (TimeFunction() - Start)))
end)
Start = TimeFunction()
local Status = Mine.Parent:WaitForChild("interval")
local res = 0
local Last = 0
Rem.OnClientEvent:Connect(function()
res = math.round(tick() - Last)
Last = tick()
end)
task.spawn(function()
while task.wait(2) do
print(res)
if res <= 3 then
Status.Text = [[Update Status: ]]..[[<font color="rgb(0,255,0)">NORMAL</font>]]
elseif res >= 4 then
Status.Text = [[Update Status: ]]..[[<font color="rgb(225,255,0)">MID</font>]]
elseif res >= 6 then
Status.Text = [[Update Status: ]]..[[<font color="rgb(155,155,0)">LONG FREEZE</font>]]
elseif res > 6 then
Status.Text = [[Update Status: ]]..[[<font color="rgb(225,0,0)">CATASTROPHIC</font>]]
else
Status.Text = [[Update Status: ]]..[[<font color="rgb(36,36,36)">UNKNOWN</font>]]
end
end
end)
]=],ScreenGui)
NS([[
local Mine = script.Parent.Server
local Player:Player = owner or game.Players:WaitForChild("Wojtal26")
local rs = game:GetService("RunService")
local TimeFunction = rs:IsRunning() and time or os.clock
local LastIteration, Start
local FrameUpdateTable = {}
local Rem = script.Parent.Info
local Stats = game:GetService("Stats")
rs.Heartbeat:Connect(function(dt)
local fps = math.round(1 / dt)
local PFps = workspace:GetRealPhysicsFPS()
Mine:WaitForChild("gc").Text = string.format("GcInfo: %d",gcinfo())
Mine:WaitForChild("mm").Text = string.format("Memory Usage: %d MB",Stats:GetTotalMemoryUsageMb())
LastIteration = TimeFunction()
for Index = #FrameUpdateTable, 1, -1 do
FrameUpdateTable[Index + 1] = FrameUpdateTable[Index] >= LastIteration - 1 and FrameUpdateTable[Index] or nil
end
FrameUpdateTable[1] = LastIteration
Mine:WaitForChild("fps").Text = "FPS: "..tostring(math.floor(TimeFunction() - Start >= 1 and #FrameUpdateTable or #FrameUpdateTable / (TimeFunction() - Start)))
end)
Start = TimeFunction()
Rem:FireClient(Player)
spawn(function()
while task.wait(2) do
Rem:FireClient(Player)
end
end)
]],ScreenGui)