if I made a very simple game that only used server scripts, would a cheat engine be able to exploit my game?
also, what are some ways that people protect their game? are there different methods devs use?
The answer is no, exploits cannot access server scripts.
Dev, to usually protect there games from exploits. They use server side sanity checks, to make sure nobody can tamper with the game.