How do I access the enemy's PlayerGUI

Hello, I’ve been trying to access the enemy’s player GUI. I’m trying to display a GUI for them and only them, but it’s not working.

		if v.Parent:FindFirstChild("Humanoid") and v.Parent:FindFirstChild("Deb") == nil and v.Parent ~= char then
			local deb = Instance.new("BoolValue",v.Parent)
			deb.Name = "Deb"
			game.Debris:AddItem(deb,0.2)
			local closecharacter = v.Parent
			local close = closecharacter.v
			local EHum = closecharacter:WaitForChild("Humanoid")
			local EHumT = closecharacter:WaitForChild("Torso")
			local EHumRP = closecharacter:WaitForChild("HumanoidRootPart")
			
			-------Insert all enemy tools here------------------------------------

			---------------------------------------
			
			local sound = Instance.new("Sound")
			sound.SoundId  = "rbxassetid://636494529"
			sound.Parent = closecharacter.HumanoidRootPart
			sound.Volume = 4
			sound:Play()
			game.Debris:AddItem(sound,3)
			
			closecharacter.Humanoid:TakeDamage(15)  -- 1
			local PlayerPoints = player.leaderstats.Points
			PlayerPoints.Value = PlayerPoints.Value + 15
			
			spawn(function()
				wait(0.01)
				local flash =  script:WaitForChild("BlindEye"):Clone()
				flash.Parent =  closecharacter.PlayerGui
				game.Debris:AddItem(flash,2)
			end)
			
			EHum.WalkSpeed = 0
			EHum.JumpPower = 0
			
			wait(1.5)

			Humanoid.WalkSpeed = 16
			Humanoid.JumpPower = 50
			
			EHum.WalkSpeed = 16
			EHum.JumpPower = 50
			
			Tool.RequiresHandle = false

				break
				
			end
			
		end
		



end)```

I think you need to Parent the GUI to PlayerGui.ScreenGui

Is that a script or a local script?