I successfully got the function to work, but the position of the part will not change after waiting 3 seconds. Can you help me?
function myPart(myPosition) local part = Instance.new("Part") part.Anchored = true part.BrickColor = BrickColor.new("Black") part.Position = myPosition part.Parent = workspace return myPart end local myPartData = myPart(Vector3.new(2,7,1)) wait(3) myPartData.Position = Vector3.new(2,7,2)