SpacecowboyHX

Untitled

Jan 13th, 2021
765
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local count = 0
  2. local start = tick()
  3. local TEXTLABEL = script.Parent --PUT TEXTLABEL SUBJECT HERE
  4. game:GetService("RunService").RenderStepped:Connect(function()
  5.     if tick()-start>=1 then
  6.         TEXTLABEL = tostring(count).." FPS"
  7.         start = tick()
  8.         count = 0
  9.     else
  10.         count = count+1
  11.     end
  12. end)
RAW Paste Data