Chaning ClassicFrames Textures

I am currently trying to change the Healthbar and NameBackground (Reputation Color) Textures with ClassicFrames, however my current Scripts are not working and was wondering, whether someone more able could help me out?

Current Script:
local TextureToUse = (“Interface\TargetingFrame\Smoothv2”) – Texture used pre-Dragonflight
–local TextureToUse = (“Interface\TargetingFrame\UI-TargetingFrame-BarFill”) – Texture Nameplate Uses
– SetVertexColor(red, green, blue, alpha)

local TargetFocusChanged = CreateFrame(“FRAME”)
TargetFocusChanged:RegisterEvent(“PLAYER_LOGIN”)
TargetFocusChanged:RegisterEvent(“PLAYER_TARGET_CHANGED”)
TargetFocusChanged:RegisterEvent(“PLAYER_FOCUS_CHANGED”)
TargetFocusChanged:RegisterEvent(“GROUP_ROSTER_UPDATE”)
TargetFocusChanged:RegisterEvent(“RAID_TARGET_UPDATE”)
TargetFocusChanged:SetScript(“OnEvent”,function(self, event, …)
if event == (“PLAYER_TARGET_CHANGED”) then
TargetFrame.TargetFrameContent.TargetFrameContentMain.HealthBar.HealthBarTexture:SetTexture(TextureToUse)
elseif event == (“PLAYER_FOCUS_CHANGED”) then
FocusFrame.TargetFrameContent.TargetFrameContentMain.HealthBar.HealthBarTexture:SetTexture(TextureToUse)
elseif event == (“GROUP_ROSTER_UPDATE”) or event == (“RAID_TARGET_UPDATE”) then
– Party Member Health Bars
PartyFrame.MemberFrame1.HealthBar.HealthBarTexture:SetTexture(TextureToUse)
PartyFrame.MemberFrame2.HealthBar.HealthBarTexture:SetTexture(TextureToUse)
PartyFrame.MemberFrame3.HealthBar.HealthBarTexture:SetTexture(TextureToUse)
PartyFrame.MemberFrame4.HealthBar.HealthBarTexture:SetTexture(TextureToUse)
– Party Member Health Bars Color
PartyFrame.MemberFrame1.HealthBar.HealthBarTexture:SetVertexColor(0, 1, 0, 1)
PartyFrame.MemberFrame2.HealthBar.HealthBarTexture:SetVertexColor(0, 1, 0, 1)
PartyFrame.MemberFrame3.HealthBar.HealthBarTexture:SetVertexColor(0, 1, 0, 1)
PartyFrame.MemberFrame4.HealthBar.HealthBarTexture:SetVertexColor(0, 1, 0, 1)
elseif event == (“PLAYER_LOGIN”) then

--Add a timer because doesn't style target frame after a reload if target prior to reload
C_Timer.After(0, function()

	-- Player Health Bar
	PlayerFrame.PlayerFrameContent.PlayerFrameContentMain.HealthBarArea.HealthBar:SetStatusBarTexture(TextureToUse)
    PlayerFrame.PlayerFrameContent.PlayerFrameContentMain.ReputationColor:SetStatusBarTexture (TextureToUse)
    CfPlayerFrameBackground:SetStatusBarTexture (TextureToUse)
		-- Player Health Bar Color
		PlayerFrame.PlayerFrameContent.PlayerFrameContentMain.HealthBarArea.HealthBar:SetStatusBarColor(0, 1, 0, 1)