Today I have been coding and using scripts for a seeking mine and also a script for a door what opens when you get close to it. They both have a radius when they are activated but I was having a problem solving the door script. I fixed the problems with the mine script which was that there was 2 errors.
There is two types of errors which are a syntax error and a semantic.
Syntax error: It is basically the error what is written in the sequence, it must be correct if you want to be successful and work.
Semantic error: Writing program logic that’s incorrect when the instructions are executed.