This doesn’t mean that any running callback function connected to that event will be stopped immediately.
local Game = game
local RunService = Game:GetService("RunService")
local Connection
local function OnRenderStep()
Connection:Disconnect()
print("Hello world!") --Is output once.
end
Connection = RunService.RenderStepped:Connect(OnRenderStep)