I am making a Roblox doors fangame, and i am following this tutorial. https://www.youtube.com/watch?v=z0g5sLZapqI&t=168s&ab_channel=GnomeCode When it came time to run the test, I got an error saying that it was unable to cast Instance to CoordinateFrame. Please keep in mind that this is my first time using Roblox studio, so i have very little knowledge on how to use the program
COMMUNITY QUESTION
Unable to cast Instance to CoordinateFrame?
1 answer
As the error suggests your are trying to set something’s CFrame to a Instance like this
Part.CFrame = Part <- not good
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
So do i get rid of the = part bit at the end?
yea i assume your supposed to do part.CFrame not part