if game.Players.LocalPlayer.Character:WaitForChild("Humanoid").Sit == true then message.Text = "Player, " ..Player.Name.. " has won!" wait(0.1) game.Players.LocalPlayer.leaderstats.Wins.Value +1 end
Everything at the top works, it's just the "game.Players.LocalPlayer.leaderstats.Wins.Value +1" that isn't valid, how would I make it valid?
if game.Players.LocalPlayer.Character:WaitForChild("Humanoid").Sit == true then player=game.Players.LocalPlayer message.Text = "Player, " ..Player.Name.. " has won!" wait(0.1) player.leaderstats.Wins.Value=player.leaderstats.Wins.Value+1 end