Why is this script ain't workin?


Alright, so this script is like a scene transition script, the screen turns purple, blurs, spiral spins, camera zooms in and then the cool stripes open and the screen appears. It works as it should the first time but after that the cool stripes just don’t appear at all


local fade = script.Parent.ImageLabel
local black = script.Parent.doors
local d1 = black.d1
local d2 = black.d2
local blur = game.Lighting.Blur
local color = game.Lighting.ColorCorrection

function executeAfter()
	wait(0.4)

	fade:TweenSize(UDim2.new(0, 1100000,0, 1100000), "Out", nil, 2) game.Workspace.fart:Play()
	wait(2)
	black.Visible = true
	
	fade.Visible = false
	wait(1)
	blur.Size = 0
	color.Enabled = false
	d1:TweenPosition(UDim2.new(0, 1500, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Elastic, 2)
	d2:TweenPosition(UDim2.new(0, -1500, -0.003, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Elastic, 2)
	wait(1)
	black.Visible = false
	fade:TweenSize(UDim2.new(0, 0,0, 0))
	d1.Position = UDim2.new(0, 0, 0, 0)
	d2.Position = UDim2.new(0, 0, -0.003, 0)
	script.Disabled = true
end

	
	
fade.Visible = true

fade:TweenSize(UDim2.new(0, 1100,0, 1100), "Out", nil, 1, false, executeAfter)

1 Like

I’m pretty sure the answer is simple as day but i’ve got like, twitch streamer eyes you know

1 Like

haven’t read the script yet but did you make sure to set the positions to their original positions after tweening them

1 Like

Yeah, of course i did ⠀⠀⠀⠀⠀⠀⠀⠀⠀