Script: https://pastebin.com/4GfuSvDu
Explorer: https://imgur.com/a/ltyh7L6
So I'm making a singleplayer game and I'm trying to detect if a player is in the selected area using a part with no collide, but when I enter the area it just says the error in the title, any help is appreciated!

2 comments
i fixed it and you didnt read the thing properly, also i have a whole different problem now lol
it also runs the thing after the player touches the script and i verified that everything exists by looking at the explorer