-- Decompiled with the Synapse X Luau decompiler.


local l__LocalPlayer__1 = game.Players.LocalPlayer;
local l__PlayerGui__2 = l__LocalPlayer__1.PlayerGui;
local l__Character__3 = l__LocalPlayer__1.Character;
local l__Humanoid__4 = l__Character__3:WaitForChild("Humanoid");
local l__Infected__5 = l__Character__3:WaitForChild("Infected");
while true do
	wait();
	script.Parent.HP.SoundId = l__PlayerGui__2:WaitForChild("Music").Music.Value;
	if l__Humanoid__4.Health <= 30 and l__Character__3.Human.Value == true then
		l__PlayerGui__2.Hurt.Enabled = true;
		workspace.CurrentCamera.FieldOfView = 60;
		workspace.CurrentCamera.FieldOfView = workspace.CurrentCamera.FieldOfView + 1;
		wait(0.3);
		workspace.CurrentCamera.FieldOfView = workspace.CurrentCamera.FieldOfView - 1;
	end;
	if l__Humanoid__4.Health <= 45 and l__Character__3.Human.Value == true then
		l__PlayerGui__2.Hurt.Enabled = true;
		workspace.CurrentCamera.FieldOfView = 60;
		workspace.CurrentCamera.FieldOfView = workspace.CurrentCamera.FieldOfView + 1;
		wait(0.5);
		workspace.CurrentCamera.FieldOfView = workspace.CurrentCamera.FieldOfView - 1;
	end;
	if l__Humanoid__4.Health >= 45 and l__Character__3.Human.Value == true then
		l__PlayerGui__2.Hurt.Enabled = false;
		workspace.CurrentCamera.FieldOfView = 70;
	end;
end;
