I need to move the button to a small distance and it looks like it doesn't work. I made a simple script to see what can I do. This is NOT the local script.
local button = script.Parent
wait(10)
button.CFrame = button.ButtonFake.CFrame+Vector3.new(0, 0, 0.027)
ButtonFake is part name. Button is a model.
I don't get any errors and the part is not moving. The part is located in the model. The script is in the part.
I am not very good at scripting and it will be great if you help me. Thanks.
EDIT: I found out that I cannot change the position manually in Play Mode and in the game. Only in studio and Run mode. But why?

1 comment
The part needs to be unanchored for the elevator to move (It is an elevator). But for TweenService it needs to be anchored. I tried anchoring the part while the tweenservice is running and then unanchoring again but it returns to its original position. This problem is not a problem in RUN mode tho