Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Unable to cast Instance to CoordinateFrame?

Asked by 2 years ago

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

Log in to vote
1
Answered by
Puppynniko 1059 Moderation Voter
2 years ago
Edited 2 years ago

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

Part.CFrame = Part <- not good
0
So do i get rid of the = part bit at the end? Amazingamer12349 0 — 2y
0
yea i assume your supposed to do part.CFrame not part Puppynniko 1059 — 2y
Ad

Answer this question