Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Unable to cast Instance to CoordinateFrame?

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

1 answer

As the error suggests your are trying to set something’s CFrame to a Instance like this

Part.CFrame = Part <- not good

2 comments

0

So do i get rid of the = part bit at the end?

0

yea i assume your supposed to do part.CFrame not part

This discussion is preserved as it was. New answers, comments, and votes are closed.