Why is it saying that it doesn’t know what these are?
I was Making a clicker game and the points won’t go up
Why is it saying that it doesn’t know what these are?
capitlize player
Didn’t change anything? It doesn’t know what it is
Capitalize every “player” inside of the function and not the line that makes the function. The function is returning “Player” not “player”
I think its an error w line 6 itself btw u forgot to correct line 9
The variable in parameters of thr function is defined “players” but the variables in the function are “player” and “Player”. You need to make sure the variables are the same
”player” is not defined, replace ”players” with ”player” in the function definition
I will say this: please make sure you’re properly reading what you’re writing in your code. Many issues I’ve seen you stem from the fact that you’re either mislabeling or mispelling variables in your code.
Just change it from “player” to “players”. In both lines 6 and 9.
Player
is a type, not a variable.
rename your function parameter players
to player
, keep the rest of the code same, it should fix your issue.
I meant the player variable being referenced. Also I’m terrible with scripting vocabulary and get it mixed up anyway .