Hi there. I’m not exactly familiar with RunService, as I only use it every once in a while. However, I’d like to know if RunService is one of the best ways to reduce lag.
-
What do you want to achieve? Knowing if RunService reduces lag or not.
-
What is the issue? Not knowing if RunService reduces lag. Strongly thinking not honestly.
-
What solutions have you tried so far? I’ve tried using it a few times and looking at the RCD. AKA Roblox Creator Documentation on RunService. Not really receiving much help.
This is the current code I’ve tested for RunService. Also, if I were to use RunService, would this code be more convenient placed in a LocalScript?
local RunService = game:GetService("RunService")
local Part = script.Parent
RunService.Heartbeat:Connect(function()
Part.CFrame = Part.CFrame * CFrame.new(0, 0, 1)
task.wait()
end)
If there’s a more convenient way to type this code out, please let me know. Anything concerning RunService, LocalScripts, or common Scripts helps me out a bunch. Huge thanks to anyone that even considers helping me out.