-- Variables
local Camera = game.Workspace.CurrentCamera
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local CutsceneCamEvent = ReplicatedStorage.RemoteEvent
local Runservice = game:GetService("RunService")
local player = game.Players.LocalPlayer
local Character = player.Character or player.CharacterAdded:Wait()
local HumanoidRootPart= Character:WaitForChild("HumanoidRootPart")
local Humanoid = Character:WaitForChild("Humanoid")
local PlayerModule = require(player.PlayerScripts:WaitForChild("PlayerModule"))
local controls = PlayerModule:GetControls()
local animation = script.Animation
CutsceneCamEvent.OnClientEvent:Connect(function()
controls:Disable()
local animationEnded = false
local Animation = Humanoid:LoadAnimation(animation)
Animation:Play()
Animation.Stopped:Connect(function()
animationEnded = true
end)
while animationEnded == false do
print("ENDED2")
Camera.CFrame = Character:WaitForChild("Head").CFrame
Runservice.RenderStepped:Wait()
end
if animationEnded == true then
print("ended")
controls:Enable()
Camera.CameraType = Enum.CameraType.Custom
end
--if not then it will do camera cutscene not fps cutscene
end)
#fps cutscene is not working in shiftlock and in firstperson
22 messages · Page 1 of 1 (latest)
Why not set back the camera to default
I didn't see anything wrong in the video tho
Other than the camera not going back to the playerCharacter's default view
like when you first person it will spins
Then idrk the problem :')
oh no
Dw, jst wait until a higher grade helps you out
try not to shifelock?
yea but it is for horror game and the horror game is in first person