-- Start of script
local StartTime = os.time()
--[[ Main Script Here ]]--
-- After everything is done loading
local TimeElapsed = (os.time() - StartTime)*1000 - This is to get ms instead of seconds
print("Loaded in "..TimeElsapsed.." ms")
os.clock() is better. time() is better for performance with the cost of negligible accuracy. Also tick() is getting deprecated, although it doesn’t mean it won’t work, it means that there is something better.