Anyone have any idea on how to fix this?

if Workspace.Player1.Humanoid = true then Workspace.Player1.Humanoid.Health = 10 end