I have scripted this Moving Curtain With Vector3, I was not understanding how the second curtain worked and this curtain did not move (Curtain1), (Curtain2 Is In a Different Script). I was just not sure, ever since I had put line 12 (Curtain And StageFind Position), it had stopped working like it was suppose to be. The "StageFind1" is used so that the curtain is put into the right position.

Curtain1 = game.Workspace.StageCurtain
Curtain2 = game.Workspace.StageCurtain2
StageFind11 = game.Workspace.StageFind1

script.Parent.Parent.CLOSE.MouseButton1Click:connect(function()
	
	for i = 3.21, 31.56, .01 do
		Curtain1.CanCollide = false
		Curtain1.Size = Vector3.new(i,27,0.23)
	end
	wait(0.1)
	Curtain1.Position = StageFind11.Position
	wait(1)
    Curtain1.CanCollide = true
end)


Thanks!

2 comments

1

There's no wait in your for loop

0

Try CFrames instead of positions, setting the position of something might place it somewhere unintended