Script only selecting certain part of itself to run and skipping over other parts

Hello, i have this script that stets stuff, its in StarterPack. The script prints but deosnt do anything else beyond that, and i dont see any errors.

local player = game.Players.LocalPlayer
local PantsLoaded = false
local ShirtLoaded = false
local HairLoaded = false
local HeadBandLoaded = false
local PlrStats = player:WaitForChild("PlrStats")

player.CharacterAdded:Connect(function()
	wait(5)
	print("worked")
	if PlrStats.TuckedIn.Value == false then
		if PlrStats.Pants.Value ~= nil and PantsLoaded == false then
			local Pants = game.ReplicatedStorage.PantsStorage[PlrStats.Pants.Value]:Clone()
			Pants.Parent = player.Character
			PantsLoaded = true
		end
		wait(1)
		if PlrStats.Shirt.Value ~= nil and ShirtLoaded == false then
			local Shirt = game.ReplicatedStorage.ShirtStorage[PlrStats.Shirt.Value]:Clone()
			Shirt.Parent = player.Character
			ShirtLoaded = true
		end
		if PlrStats.Hair.Value ~= nil and HairLoaded == false then
			local Hair = game.ReplicatedStorage.HairStorage[PlrStats.Hair.Value]:Clone()
			Hair.Parent = player.Character
			HairLoaded = true
		end
		if PlrStats.HeadBand.Value ~= nil and HeadBandLoaded == false then
			local HeadBand = game.ReplicatedStorage.HeadBandStorage[PlrStats.HeadBand.Value]:Clone()
			HeadBand.Parent = player.Character
			HeadBandLoaded = true
		end

	elseif PlrStats.TuckedIn.Value == true then
		if PlrStats.Shirt.Value ~= nil and ShirtLoaded == false then
			local Shirt = game.ReplicatedStorage.ShirtStorage[PlrStats.Shirt.Value]:Clone()
			Shirt.Parent = player.Character
			ShirtLoaded = true
		end
		wait(1)
		if PlrStats.Pants.Value ~= nil and PantsLoaded == false then
			local Pants = game.ReplicatedStorage.PantsStorage[PlrStats.Pants.Value]:Clone()
			Pants.Parent = player.Character
			PantsLoaded = true
		end
		if PlrStats.Hair.Value ~= nil and HairLoaded == false then
			local Hair = game.ReplicatedStorage.HairStorage[PlrStats.Hair.Value]:Clone()
			Hair.Parent = player.Character
			HairLoaded = true
		end
		if PlrStats.HeadBand.Value ~= nil and HeadBandLoaded == false then
			local HeadBand = game.ReplicatedStorage.HeadBandStorage[PlrStats.HeadBand.Value]:Clone()
			HeadBand.Parent = player.Character
			HeadBandLoaded = true
		end

	end
end)

nvm, decided to try a remote even works perfect now :skull: