Lightning = game.Players.LocalPlayer.leaderstats.Level.Data.Value = 5 if Lightning == game.Player.localplayer.leaderstats.Level.Data.Value = 5 then
game.StarterPack.Katana.Handle.Blade.Lightning.Enabled = true
end
your question is really confusing, because you didnt make all of it code blocks, but um for the "Lightning" variable you dont set and put the value in the variable, so set it after the variable like this:
Lightning = game.Players.LocalPlayer.leaderstats.Level.Data local player = game.Players.LocalPlayer Lightning.Value = 5 if Lightning.Value == 5 then player.Backpack.Katana.Handle.Blade.Lightning.Enabled = true end
Also, i suggest you dont make changes of the tool in starter pack, because it wont update the tool, so put it in the players backpack and you cant do the variable by its self (idk how to explain it lol). and try to explain it instead of just pasting the script