Make part changing sync

i want to make two part show up at the same time, but there is some visible delay,
at first I used

script.Parent.Transparency = 0
	script.Parent.CanCollide = true

in a while true do loop, then I realized it wasn’t syncing, so I put them in one part and did:

while true do
	script.Parent.Transparency = 0
	script.Parent.CanCollide = true
	script.Parent.Part.Transparency = 0
	script.Parent.Part.CanCollide = true
	script.Parent.Lol.Transparency = 0
	script.Parent.Lol.CanCollide =true
	wait(1.5)
	script.Parent.Transparency = 0.3
	script.Parent.CanCollide = false
	script.Parent.Part.Transparency = 0.3
	script.Parent.Part.CanCollide = false
	script.Parent.Lol.Transparency = 0.3
	script.Parent.Lol.CanCollide = false
	wait(1.5)
end

andtheres still visible delay ;-;

You could try using 2 seperate scripts to see if that helps.