Advertisement
FazeWolfyBoy

FPS viewer

Mar 29th, 2022
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1.  
  2. local ScreenGui = Instance.new("ScreenGui")
  3. local FPS = Instance.new("TextLabel")
  4.  
  5.  
  6. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  7.  
  8. FPS.Name = "FPS"
  9. FPS.Parent = ScreenGui
  10. FPS.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  11. FPS.BackgroundTransparency = 1.000
  12. FPS.Position = UDim2.new(0.35049206, 0, 0.434355795, 0)
  13. FPS.Selectable = true
  14. FPS.Size = UDim2.new(0, 394, 0, 40)
  15. FPS.Font = Enum.Font.SourceSans
  16. FPS.Text = "FPS"
  17. FPS.TextColor3 = Color3.fromRGB(0, 59, 255)
  18. FPS.TextScaled = true
  19. FPS.TextSize = 14.000
  20. FPS.TextWrapped = true
  21.  
  22. -- Scripts:
  23.  
  24. local function EXNNBSD_fake_script() -- FPS.LocalScript
  25. local script = Instance.new('LocalScript', FPS)
  26.  
  27. local FPS = script.Parent
  28.  
  29. while wait() do
  30. local fps = game.Workspace:GetRealPhysicsFPS()
  31. FPS.Text = "FPS: "..math.floor(fps)
  32. end
  33. end
  34. coroutine.wrap(EXNNBSD_fake_script)()
  35.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement