Unable to Cast Value to Object in Script

Hi, so I was trying to make it where if a player enters a new location(touches a part) then text comes down and shows that location. I thought I knew what I was doing but kept getting errors. Now I have almost completed it and I get an error titled “Unable to Cast Value to Object.” I am not sure what I am doing wrong so can somebody help me.

[The script is in Workspace]

Error
Workspace

I’m guessing that the “Name” is a UI Element

Change the name of that element because it thinks that you’re referring to the actual Name of “Frame”.

1 Like

Name
Name is a text label

change the name of it cause there’s property called “Name” in every instance.

image

you’re basically telling to tween the name property.

Thank you lol. I don’t know how I missed that! :smiling_face_with_tear:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.