I have a script in StarterPack that only becomes enabled if a value equals something.
enter code here
local playerCharacter = script.Parent.Parent.Character
local characterShirt = playerCharacter:WaitForChild("Shirt")
local characterPants = playerCharacter:WaitForChild("Pants")
--Make Characters
function AlyxCharacter()
playerCharacter.Head.BrickColor = BrickColor.new("Light orange")
playerCharacter["Left Arm"].BrickColor = BrickColor.new("Light orange")
playerCharacter["Left Leg"].BrickColor = BrickColor.new("Light orange")
playerCharacter["Right Arm"].BrickColor = BrickColor.new("Light orange")
playerCharacter["Right Leg"].BrickColor = BrickColor.new("Light orange")
playerCharacter.Torso.BrickColor = BrickColor.new("Light orange")
characterPants.PantsTemplate = "rbxassetid://2605757306"
characterShirt.ShirtTemplate = " "
local hair2 = script.Hair2
hair2:Clone().Parent = playerCharacter
end
if game.ReplicatedStorage.StatusTag.Value == "Match" then
AlyxCharacter()
print("CharacterChanged")
end
The issue I have with this is that when the value equals "Match" the function does not fire. The weird thing is that if the value equals "Match" before I play test the game, it works.
I have no idea to fix this and am totally lost.

2 comments
Or use a repeat wait() until loop.
^ Yeah, you can do that as well.