Please provide explanation with your answers. Simply posting code does not spread knowledge of integral scripting processes which helps people understand the logic and reasoning behind your answer.
Hmm...everything looks perfectly fine. Make sure you don't have more than 1 object named "Part" in the workspace or else you could just be touching the wrong one. Also, make sure that the last line properly connects the function to the object. Hope this helps. Leave a comment if you still have a problem with this.