This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Run in LocalScript context. | |
-- Move mouse around to see Input event ordering in the output as well. | |
local RunService = game:GetService("RunService") | |
local UserInputService = game:GetService("UserInputService") | |
local lastT = os.clock() | |
local function FmtTime(event) | |
local t = os.clock() |