--SERVER
commands.view = function(player,arguments)
local playerSubject = findPlayer(arguments[1])
print(playerSubject)
if playerSubject ~= nil then
viewEvent:FireClient(playerSubject)
end
end
--CLIENT
viewEvent.OnClientEvent:Connect(function(playerSubject)
print("viewing1")
pcall(function() -- To make sure it doesn't throw an error.
print("VIEWING2")
cam.CameraSubject = playerSubject.Character
wait(10)
cam.CameraSubject = playerSubject.Character.Humanoid
end)
end)
In studio it prints all of the prints, in an actual server it only prints the playerSubject and nothing else. I'm very confused on why it doesn't even print "viewing1"
