Please Help Me With First Person Animation

Hello, I am making a first person cutscene but idk how to make the cameras cframe come back to the player because i’m using RunService.RenderStepped. Is there a way i can stop a RenderStepped event? please help.

local Game = game
local RunService = Game:GetService("RunService")
local Connection

local function OnRenderStep(Delta)
	if Delta % 1 == 0 then Connection:Disconnect() end
end

Connection = RunService.RenderStepped:Connect(OnRenderStep)

You just disconnect it like you would with any other connection.

1 Like