R6 transparency doesn't work

So I’m creating a module where part of the code requires the player’s character to be transparent which works in R15 until you switch to R6. I’m stumped and have no idea it just stops working in R6. I’ve tried to run it on both the server and client and still get the same result.

function NoFreefall:fadeCharacter(character, value)
	for _, p in pairs(character:GetDescendants()) do
		if p:IsA("Decal") or p:IsA("Part") and not p.Name == "HumanoidRootPart" then
			TweenService:Create(p, TweenInfo.new(.3), {Transparency = value})
		end
	end
end

My guess is because order of operators. Use parentheses:

if (p:IsA("Decal") or p:IsA("Part")) and p.Name ~= "HumanoidRootPart" then

Just tried that out and it still didn’t work

nvm i figured it out, i didn’t play the tweens lol

Add Tween.Completed:Wait() after the playing if each tween should play separate from one another.