Advertisement
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")
- --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(1,1,1)
- Fps.TextScaled = true
- Fps.TextSize = 14.000
- Fps.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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement