AutoR - Basic Streaming for Higher Physic FPS

Hello!
I want to share to you guys this module, i just made it yesterday
i called it AutoR, well this is very basic and simple but it different.


So, How it work?

So AutoR run at 60hz(max) Heartbeat, then it check your currently Physic FPS you got then it match if your Physic FPS at Low/Medium/High.

  • High (>=55)

Give real details the model with shadow enabled and for parts/meshes/otherTypePart the material following default, SmoothPlastick Material if HighMode enabled

  • Medium (>=41)

Give medium details (minimalize detail), Shadow disabled and for parts/meshes/otherTypePart the material following default

  • Low (< 41)

Give the most lowest detail (more minimalize), Shadow disabled and for parts/meshes/otherTypePart the material is normal plastick


AutoR API

  • AutoR.run(HighMode : boolean, autoUpdateSettings : boolean, updateTime : number)

Start & Run using AutoR (Only Client)

  • AutoR.stop(progress : function) : string | boolean

Stop AutoR task and revert back into default/normal

AutoR.stop(function(progress)
print(progress) -- "0 of 0" / Completed to revert of Total
end)
  • AutoR.GetFPS(PhysicFPS : function) : number

Get Current Physic FPS Player/Client

AutoR.GetFPS(function(fps)
print(fps) -- 0.0 <- player physic fps
end)

Result test sample

So i tested it on low performance laptop (Intel Pentium Gold 4415U (2 Core & 2 Thread), Intel HD Graphic, 4Gb RAM, Windows 10 22H2, ASUS VivoBook, All Apps closed except Roblox Studio, OnCharging, MaxPower), so without AutoR i receive ~19.7-24.1 Physic FPS and with AutoR (HighMode off, autoUpdate on, 15s) i got ~20-26.4+


Supported Object: Parts & Meshes
Support Effect: ParticleEmitter, Fire & Smoke (Incompleted, Beta)

Note: This module fully only can run at Client/Player

Download (AutoR Module, .rbxm)
AutoR.rbxm (4.3 KB)
Download Test AutoR Module (total 2400+ Parts, Meshes, Particles, Smoke & Fires, Animated Trees, .rbxl)
render.rbxl (209.2 KB)

Download (AutoR v0.0.2a, .rbxm)
AutoR.rbxm (5.3 KB)
Donwload Test AutoR (for v0.0.2a, .rbxl)
render.rbxl (210.3 KB)

Version: 0.0.2 Alpha (Second & Latest version)
Status: Open Sourced | Discontinued

8 Likes

just return it instead of needing a function to pass values

local function noob()
   return "oof!"
end
local oof = noob()
print(oof)
2 Likes

What you mean?
30303000000 charsssszzz

U have to understand what is callback and how it works

that like you have it instead return the fps value from the function as a variable like

local fps = AutoR.GetFPS()

print(fps)

My GetFPS is loop callback, if u want non loop you can use game:GetService(“Workspace”):GetPhysicFPS()

i pushed this update for the latest version for AutoR and AutoR will no longer be updated anymore

Update v0.0.2 - Alpha

  • Removed autoupdate on :run for prevent breaking render cache
  • Changed :GetFPS to return fps (only once, non-loop, non functional)
  • Added :GetFPF(frame : number, func (fps:number)) – this most likely previous version of GetFPS but you can set get fps per ? frame
  • Added delay option (number & optional) on :GetFPF
x = AutoR.GetFPF(60, function(fps)
print(fps)
end)
x:stop(5) -- end in next 5 sec (you can fill the number if you want and its optional)
  • Now support lighting (atmostphere)
  • Added Setting for Effect (BoolValue)
  • Fixed :stop didn’t revert rendered back to normal correctly on :run()
  • Added Material System
  • Changed name HighMode option in :run to SmoothMaterialMode
  • Minor Improvement

Download (v0.0.2 - alpha)
AutoR.rbxm (5.3 KB)
Download test
render.rbxl (210.3 KB)


I let you able to continue this module (with other name or AutoR) or modify/update/improve it (or whatever you want) because it discontinued

2 Likes

HZ (pronounced hertz) are used for monitors and displays, software uses FPS.

U have to learn more about the difference between hz and frame/fps.

Renderstepped which is local uses FPS (Frames Per Second) for easier use.

Heartbeat uses Hz (Hertz).

Hertz is the event of something per second and is not only used for your screen’s refresh rate its used in anything that has a cycle/event every second even FPS (60 anything per second = 60Hz)

3 Likes