repeat wait() until game:IsLoaded() wait(2) local ScreenGui = Instance.new("ScreenGui") local Fps = Instance.new("TextLabel") local Ping = Instance.new("TextLabel") --Properties: ScreenGui.Parent = game.CoreGui ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling Fps.Name = "Fps" Fps.Parent = ScreenGui Fps.BackgroundColor3 = Color3.fromRGB(255, 255, 255) Fps.BackgroundTransparency = 1.000 Fps.Position = UDim2.new(0.786138654, 0, 0, 0) Fps.Size = UDim2.new(0, 125, 0, 25) Fps.Font = Enum.Font.SourceSans Fps.TextColor3 = Color3.fromRGB(255, 255, 255) Fps.TextScaled = true Fps.TextSize = 14.000 Fps.TextWrapped = true Ping.Name = "Ping" Ping.Parent = ScreenGui Ping.BackgroundColor3 = Color3.fromRGB(255, 255, 255) Ping.BackgroundTransparency = 1.000 Ping.BorderColor3 = Color3.fromRGB(255, 255, 255) Ping.Position = UDim2.new(0.700000048, 0, 0, 0) Ping.Size = UDim2.new(0, 125, 0, 25) Ping.Font = Enum.Font.SourceSans Ping.TextColor3 = Color3.fromRGB(253, 253, 253) Ping.TextScaled = true Ping.TextSize = 14.000 Ping.TextWrapped = true -- Scripts: local script = Instance.new('LocalScript', Fps) local RunService = game:GetService("RunService") RunService.RenderStepped:Connect(function(frame) -- This will fire every time a frame is rendered script.Parent.Text = ("FPS: "..math.round(1/frame)) end) local script = Instance.new('LocalScript', Ping) local RunService = game:GetService("RunService") RunService.RenderStepped:Connect(function(ping) script.Parent.Text = ("Ping: " ..game:GetService("Stats").Network.ServerStatsItem["Data Ping"]:GetValueString(math.round(2/ping))) -- your ping end)