Why isn't the property of my part changing after I called the function? [Solved] [closed]
Asked by
5 years ago Edited 5 years ago
I successfully got the function to work, but the position of the part will not change after waiting 3 seconds. Can you help me?
01 | 01 function myPart(myPosition) |
02 | 02 local part = Instance.new( "Part" ) |
03 | 03 part.Anchored = true |
04 | 04 part.BrickColor = BrickColor.new( "Black" ) |
05 | 05 part.Position = myPosition |
06 | 06 part.Parent = workspace |
11 | 11 local myPartData = myPart(Vector 3. new( 2 , 7 , 1 )) |
13 | 13 myPartData.Position = Vector 3. new( 2 , 7 , 2 ) |
Closed as Non-Descriptive by hiimgoodpack, NotFrindow, and User#5423
This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.
Why was this question closed?