Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How come when I change the camera's subject, it does not work?

Asked by
epoke466 100
2 years ago

Sooo... I am making a LocalScript in StarterGui with the following code:

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local Character = Player.Character
local Seeker = ReplicatedStorage.SeekerHumanoid

Character:FindFirstChildOfClass("Humanoid").Died:Connect(function()
    workspace.CurrentCamera.CameraSubject = Seeker.Value
end)

For some reason, the player's camera's CameraSubject value changes to the humanoid of the seeker, but nothing happens. One reason might be that I have CharacterAutoLoads in Players off. Does anyone know what is happening?

0
When i get home i will try to find a solution because i have the similar problem. VAnkata20 135 — 2y
0
I found another person who has a similar problem to this as well it might be a glitch with roblox. epoke466 100 — 2y

Answer this question