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

how to get only Players who got the stringvalue?

Asked by 7 years ago
Edited 7 years ago

I want to change the camera for all players who got the string "in queue"

if game.Players:GetPlayers():FindFirstChild("In queue") then
    game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
game.Workspace.CurrentCamera.CameraType = "Custom"
end

but this doesnt work.

Answer this question