The script im trying to run is:
local Player = game.Players.LocalPlayer
local Leaderstat = Player:WaitForChild("leaderStats")
local stat = Leaderstat["strength"]
if Leaderstat.strength.value = 100 then
Player.leaderstats.Level.value = Player.leaderstats.Level.value +1
end
What i'm trying to do is when the payers strength reaches an amount, 100 in this case, I want their level to go up. When i run the game and use a tool,i made it so it instantley gets me to 100 for now, to get to 100 the level doesn't change.

2 comments
on line 10 its has error line under the = and the then
it's just a syntax error, make it == and it should work