I want to make an if statement that looks like this:
if Player.Variable = false then --the variable is a boolvalue stored inside the player
--code
end
for example the variable for a player in a localscript would be:
game.Players.LocalPlayer
But I have no clue how to make a variable for the player in the script