I’m trying to make a little ingame menu that shows things like memory used, latency, fps, etc. (similar to minecraft’s F3 menu) and is luaheap possible to detect with scripts instead of opening up the console ingame?
Dev Console Detection:
Memory Usage:
FPS?
local RunService = game:GetService("RunService")
local FPS = 60
RunService.RenderStepped:Connect(function(Delta)
FPS = 1 / Delta
print(FPS)
end)
Idk if this would be the best approach but it’s something at least
1 Like
I’m sorry, but I was trying to get luaheap, not the FPS/devconsole.
This is probably the closest thing I could really find?
sorry I know this is late but for anyone else you do
local StatsService = game:GetService("Stats")
StatsService:GetMemoryUsageMbForTag("LuaHeap")
2 Likes
thank you i guess. i don’t really have this problem anymore because i discontinued on that, but i’ll keep that in mind. thanks
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.