Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR LUA

how to stop a renderstepped loop in lua

local runServ = game:GetService("RunService")

runServ:BindToRenderStep("test", Enum.RenderPriority.Camera.Value, function()
	print("ran")
end)

wait(2)

runServ:UnbindFromRenderStep("test")
 
PREVIOUS NEXT
Tagged: #stop #renderstepped #loop #lua
ADD COMMENT
Topic
Name
4+9 =