BlowTorch702

Roblox FPS Counter

Jun 9th, 2022 (edited)
820
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.25 KB | None | 0 0
  1. -- Made By BlowTorch702
  2. -- Made for Better Rblx GUI
  3. --Official Place: https://www.roblox.com/games/3470295245/Better-Rblx-GUI-1-0
  4.  
  5. -- Instances:
  6.  
  7. local FPSCounter = Instance.new("ScreenGui")
  8. local Frame = Instance.new("Frame")
  9. local TextLabel = Instance.new("TextLabel")
  10. local BlowTorch702 = Instance.new("TextLabel")
  11.  
  12. --Properties:
  13.  
  14. FPSCounter.Name = "FPS Counter"
  15. FPSCounter.Parent = game.CoreGui
  16. FPSCounter.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  17.  
  18. Frame.Parent = FPSCounter
  19. Frame.BackgroundColor3 = Color3.fromRGB(34, 34, 34)
  20. Frame.BorderColor3 = Color3.fromRGB(255, 255, 255)
  21. Frame.Position = UDim2.new(0.0192946233, 0, 0.773753881, 0)
  22. Frame.Size = UDim2.new(0, 178, 0, 62)
  23.  
  24. TextLabel.Parent = Frame
  25. TextLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  26. TextLabel.BackgroundTransparency = 1.000
  27. TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
  28. TextLabel.Position = UDim2.new(0.268431932, 0, 0.0572184883, 0)
  29. TextLabel.Size = UDim2.new(0, 82, 0, 36)
  30. TextLabel.Font = Enum.Font.Michroma
  31. TextLabel.Text = "Loading..."
  32. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  33. TextLabel.TextSize = 20.000
  34.  
  35. BlowTorch702.Name = "BlowTorch702"
  36. BlowTorch702.Parent = Frame
  37. BlowTorch702.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  38. BlowTorch702.BackgroundTransparency = 1.000
  39. BlowTorch702.BorderColor3 = Color3.fromRGB(0, 0, 0)
  40. BlowTorch702.Position = UDim2.new(0.483391911, 0, 0.647027314, 0)
  41. BlowTorch702.Size = UDim2.new(0, 91, 0, 21)
  42. BlowTorch702.Font = Enum.Font.Michroma
  43. BlowTorch702.Text = "BlowTorch702"
  44. BlowTorch702.TextColor3 = Color3.fromRGB(255, 255, 255)
  45. BlowTorch702.TextSize = 12.000
  46.  
  47. -- Scripts:
  48.  
  49. local function OVGD_fake_script() -- FPSCounter.Drag Script
  50.     local script = Instance.new('LocalScript', FPSCounter)
  51.  
  52.     Frame = script.Parent.Frame
  53.     Frame.Draggable = true
  54.     Frame.Active = true
  55.     Frame.Selectable = true
  56. end
  57. coroutine.wrap(OVGD_fake_script)()
  58. local function ZMMI_fake_script() -- TextLabel.FPS Counter Script
  59.     local script = Instance.new('LocalScript', TextLabel)
  60.  
  61.     local RS = game:GetService("RunService")
  62.     local FPS = 0
  63.    
  64.     function UpdateFPS()
  65.         FPS = FPS + 1
  66.     end
  67.    
  68.     RS.RenderStepped:Connect(UpdateFPS)
  69.     while wait(1) do
  70.         script.Parent.Text = FPS.." FPS"
  71.         FPS = 0
  72.     end
  73. end
  74. coroutine.wrap(ZMMI_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment