Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local count = 0
- local start = tick()
- local TEXTLABEL = script.Parent --PUT TEXTLABEL SUBJECT HERE
- game:GetService("RunService").RenderStepped:Connect(function()
- if tick()-start>=1 then
- TEXTLABEL = tostring(count).." FPS"
- start = tick()
- count = 0
- else
- count = count+1
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement