Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local ui = Instance.new("ScreenGui")
- local info = Instance.new("TextLabel")
- --Properties:
- ui.Name = "ui"
- ui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- info.Name = "info"
- info.Parent = ui
- info.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- info.BackgroundTransparency = 1.000
- info.Position = UDim2.new(0, 0, 0.981707335, 0)
- info.Size = UDim2.new(0.122025624, 0, 0.0182926822, 0)
- info.Font = Enum.Font.GothamBold
- info.Text = "FPS:21 PING:21"
- info.TextColor3 = Color3.fromRGB(0, 0, 0)
- info.TextScaled = true
- info.TextSize = 14.000
- info.TextWrapped = true
- info.TextXAlignment = Enum.TextXAlignment.Left
- info.TextYAlignment = Enum.TextYAlignment.Bottom
- -- Scripts:
- local function GASMU_fake_script() -- ui.LocalScript
- local script = Instance.new('LocalScript', ui)
- local RS = game:GetService("RunService")
- local Players = game:GetService("Players")
- local LocalPlayer = Players.LocalPlayer
- local CF = 0
- local function OnRenderStepped()
- CF = CF + 1
- end
- RS.RenderStepped:Connect(OnRenderStepped)
- while true do
- task.wait()
- script.Parent.info.Text = "FPS:"..CF.." PING:"..LocalPlayer:GetNetworkPing()
- CF = 0
- end
- end
- coroutine.wrap(GASMU_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment