Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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(0, 0, 0)
- Fps.BackgroundTransparency = 0.000
- Fps.BorderColor3 = Color3.fromRGB(255, 0, 0)
- 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
- Fps.Active = true
- Fps.Draggable = true
- Ping.Name = "Ping"
- Ping.Parent = ScreenGui
- Ping.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- Ping.BackgroundTransparency = 0.000
- Ping.BorderColor3 = Color3.fromRGB(255, 0, 0)
- Ping.Position = UDim2.new(0.6811241, 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
- Ping.Active = true
- Ping.Draggable = 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)
- game.StarterGui:SetCore("SendNotification", {
- Title = "Credit to : Augus X";
- Text = "You Can Drag The Gui";
- Icon = "rbxassetid://12585776892";
- Duration = "6";
- })
Advertisement
Add Comment
Please, Sign In to add comment