Been trying to find some help for a while
1 Like
I’ve made something similar recently, let me know if this is what you’re looking for and I can point you in the correct direction on how to make it:
https://i.gyazo.com/b5b64075e753e13e00174ba035e8dcc3.mp4
2 Likes
Not really what i was looking for, but what i actually need it to do is lock it to the head so that the camera follows the head on death
1 Like
my_Character=game.Players.LocalPlayer.Character
humanoid=my_Character:FindFirstChild("Humanoid") or my_Character:WaitForChild("Humanoid")
humanoid.Died:Connect(function()
workspace.Camera.CFrame=my_Character.Head.CFrame
workspace.Camera.CameraSubject=my_Character.Head
end)
just make the camerasubject to the head and change the cframe of the camera; will that work?
1 Like
local char = script.Parent.Parent
local con
if con then
con:Disconnect()
end
local Camera = workspace.CurrentCamera
Camera.CameraType = Enum.CameraType.Custom
Camera.CameraSubject = char.Humanoid
char.Humanoid.Died:Connect(function()
con = game:GetService("RunService").RenderStepped:Connect(function()
Camera.CameraType = Enum.CameraType.Scriptable
Camera.CFrame = CFrame.lookAt(char.Head.Position + Vector3.new(0,0,-2),char.Head.Position)
end)
end)
2 Likes